Home | History | Annotate | Line # | Download | only in uboot
Makefile revision 1.4.4.1
      1  1.4.4.1  thorpej #	$NetBSD: Makefile,v 1.4.4.1 2002/01/10 19:43:15 thorpej Exp $
      2      1.1  thorpej 
      3      1.1  thorpej PROGAOUT=	uboot
      4      1.1  thorpej PROGSOURCE=	uboot.c tgets.c
      5      1.1  thorpej NEWVERSWHAT=	"Primary Boot"
      6      1.2  thorpej 
      7      1.2  thorpej CPPFLAGS+=	-DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK
      8      1.1  thorpej 
      9  1.4.4.1  thorpej .include "../Makefile.buildboot"
     10  1.4.4.1  thorpej 
     11      1.1  thorpej install:
     12  1.4.4.1  thorpej 	${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
     13      1.1  thorpej 	    ${DESTDIR}${BINDIR}/rbootd
     14  1.4.4.1  thorpej 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${INSTPRIV} \
     15  1.4.4.1  thorpej 	    uboot.lif ${DESTDIR}${BINDIR}/uboot.lif
     16      1.1  thorpej 	rm -f ${DESTDIR}${BINDIR}/rdboot
     17      1.1  thorpej 	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rdboot
     18      1.1  thorpej 	rm -f ${DESTDIR}${BINDIR}/bootrd
     19      1.1  thorpej 	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootrd
     20      1.1  thorpej 	rm -f ${DESTDIR}${BINDIR}/sdboot
     21      1.1  thorpej 	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/sdboot
     22      1.1  thorpej 	rm -f ${DESTDIR}${BINDIR}/bootsd
     23      1.1  thorpej 	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootsd
     24      1.1  thorpej 	rm -f ${DESTDIR}${BINDIR}/ctboot
     25      1.1  thorpej 	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/ctboot
     26      1.1  thorpej 	rm -f ${DESTDIR}${BINDIR}/bootct
     27      1.1  thorpej 	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootct
     28      1.1  thorpej 	rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT
     29      1.1  thorpej 	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT
     30      1.3       he 
     31      1.3       he .ifndef RELEASEDIR
     32      1.3       he release:
     33      1.3       he 	@echo setenv RELEASEDIR first
     34      1.3       he 	@false
     35      1.3       he .else
     36      1.3       he release: uboot.lif
     37      1.4   simonb 	mkdir -p ${RELEASEDIR}/installation/misc
     38      1.4   simonb 	rm -f ${RELEASEDIR}/installation/misc/SYS_UBOOT
     39      1.4   simonb 	${INSTALL} ${COPY} -m 444 uboot.lif \
     40      1.4   simonb 	    ${RELEASEDIR}/installation/misc/SYS_UBOOT
     41      1.3       he .endif # RELEASEDIR check
     42