1# $NetBSD: Makefile,v 1.8 2003/01/03 15:34:42 lukem Exp $ 2 3PROGAOUT= uboot 4PROGSOURCE= uboot.c tgets.c 5NEWVERSWHAT= "Primary Boot" 6 7CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK 8 9.include "../Makefile.buildboot" 10 11install: 12 ${INSTALL_DIR} -o ${BINOWN} -g ${BINGRP} -m 755 \ 13 ${DESTDIR}${BINDIR}/rbootd 14 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 444 \ 15 uboot.lif ${DESTDIR}${BINDIR}/uboot.lif 16 rm -f ${DESTDIR}${BINDIR}/rdboot 17 ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rdboot 18 rm -f ${DESTDIR}${BINDIR}/bootrd 19 ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootrd 20 rm -f ${DESTDIR}${BINDIR}/sdboot 21 ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/sdboot 22 rm -f ${DESTDIR}${BINDIR}/bootsd 23 ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootsd 24 rm -f ${DESTDIR}${BINDIR}/ctboot 25 ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/ctboot 26 rm -f ${DESTDIR}${BINDIR}/bootct 27 ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootct 28 rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT 29 ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT 30 31release: check_RELEASEDIR .WAIT uboot.lif 32 ${HOST_INSTALL_FILE} -m ${NONBINMODE} uboot.lif \ 33 ${RELEASEDIR}/${MACHINE}/installation/misc/SYS_UBOOT 34