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