1 1.4 simonb # $NetBSD: Makefile,v 1.4 2000/09/23 13:53:41 simonb 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.1 thorpej install: 10 1.1 thorpej ${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \ 11 1.1 thorpej ${DESTDIR}${BINDIR}/rbootd 12 1.4 simonb ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 uboot.lif \ 13 1.1 thorpej ${DESTDIR}${BINDIR}/uboot.lif 14 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/rdboot 15 1.1 thorpej ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rdboot 16 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/bootrd 17 1.1 thorpej ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootrd 18 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/sdboot 19 1.1 thorpej ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/sdboot 20 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/bootsd 21 1.1 thorpej ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootsd 22 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/ctboot 23 1.1 thorpej ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/ctboot 24 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/bootct 25 1.1 thorpej ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootct 26 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT 27 1.1 thorpej ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT 28 1.3 he 29 1.3 he .ifndef RELEASEDIR 30 1.3 he release: 31 1.3 he @echo setenv RELEASEDIR first 32 1.3 he @false 33 1.3 he .else 34 1.3 he release: uboot.lif 35 1.4 simonb mkdir -p ${RELEASEDIR}/installation/misc 36 1.4 simonb rm -f ${RELEASEDIR}/installation/misc/SYS_UBOOT 37 1.4 simonb ${INSTALL} ${COPY} -m 444 uboot.lif \ 38 1.4 simonb ${RELEASEDIR}/installation/misc/SYS_UBOOT 39 1.3 he .endif # RELEASEDIR check 40 1.3 he 41 1.1 thorpej 42 1.1 thorpej .include "../Makefile.buildboot" 43