Module Name: src Committed By: martin Date: Sat May 11 14:39:57 UTC 2024
Modified Files: src/sys/arch/hp300/stand/inst [netbsd-9]: Makefile src/sys/arch/hp300/stand/uboot [netbsd-9]: Makefile Log Message: Pull up following revision(s) (requested by tsutsui in ticket #1838): sys/arch/hp300/stand/uboot/Makefile: revision 1.11 sys/arch/hp300/stand/inst/Makefile: revision 1.11 Use LINKS to create hard links to generate proper METALOG files. Also use the default ${PROG} variable and "install" target. Fixes PR port-hp300/58211. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.170.1 src/sys/arch/hp300/stand/inst/Makefile cvs rdiff -u -r1.8 -r1.8.198.1 src/sys/arch/hp300/stand/uboot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hp300/stand/inst/Makefile diff -u src/sys/arch/hp300/stand/inst/Makefile:1.9 src/sys/arch/hp300/stand/inst/Makefile:1.9.170.1 --- src/sys/arch/hp300/stand/inst/Makefile:1.9 Sun Dec 11 12:17:23 2005 +++ src/sys/arch/hp300/stand/inst/Makefile Sat May 11 14:39:57 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2005/12/11 12:17:23 christos Exp $ +# $NetBSD: Makefile,v 1.9.170.1 2024/05/11 14:39:57 martin Exp $ PROGAOUT= inst PROGSOURCE= inst.c @@ -6,16 +6,14 @@ NEWVERSWHAT= "Miniroot Installer" CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK +LINKS= ${BINDIR}/${PROG} ${BINDIR}/rbootd/SYS_INST + .include "../Makefile.buildboot" -install: +beforeinstall: ${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \ ${DESTDIR}${BINDIR}/rbootd - ${INSTALL} ${COPY} -m 444 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \ - inst.lif ${DESTDIR}${BINDIR}/inst.lif - rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST - ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST -release: check_RELEASEDIR .WAIT inst.lif - ${HOST_INSTALL_FILE} -m ${NONBINMODE} inst.lif \ +release: check_RELEASEDIR .WAIT ${PROG} + ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${PROG} \ ${RELEASEDIR}/${MACHINE}/installation/misc/SYS_INST Index: src/sys/arch/hp300/stand/uboot/Makefile diff -u src/sys/arch/hp300/stand/uboot/Makefile:1.8 src/sys/arch/hp300/stand/uboot/Makefile:1.8.198.1 --- src/sys/arch/hp300/stand/uboot/Makefile:1.8 Fri Jan 3 15:34:42 2003 +++ src/sys/arch/hp300/stand/uboot/Makefile Sat May 11 14:39:57 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/01/03 15:34:42 lukem Exp $ +# $NetBSD: Makefile,v 1.8.198.1 2024/05/11 14:39:57 martin Exp $ PROGAOUT= uboot PROGSOURCE= uboot.c tgets.c @@ -6,28 +6,20 @@ NEWVERSWHAT= "Primary Boot" CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK +LINKS= ${BINDIR}/${PROG} ${BINDIR}/rdboot +LINKS+= ${BINDIR}/${PROG} ${BINDIR}/bootrd +LINKS+= ${BINDIR}/${PROG} ${BINDIR}/sdboot +LINKS+= ${BINDIR}/${PROG} ${BINDIR}/bootsd +LINKS+= ${BINDIR}/${PROG} ${BINDIR}/ctboot +LINKS+= ${BINDIR}/${PROG} ${BINDIR}/bootct +LINKS+= ${BINDIR}/${PROG} ${BINDIR}/rbootd/SYS_UBOOT + .include "../Makefile.buildboot" -install: +beforeinstall: ${INSTALL_DIR} -o ${BINOWN} -g ${BINGRP} -m 755 \ ${DESTDIR}${BINDIR}/rbootd - ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 444 \ - uboot.lif ${DESTDIR}${BINDIR}/uboot.lif - rm -f ${DESTDIR}${BINDIR}/rdboot - ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rdboot - rm -f ${DESTDIR}${BINDIR}/bootrd - ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootrd - rm -f ${DESTDIR}${BINDIR}/sdboot - ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/sdboot - rm -f ${DESTDIR}${BINDIR}/bootsd - ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootsd - rm -f ${DESTDIR}${BINDIR}/ctboot - ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/ctboot - rm -f ${DESTDIR}${BINDIR}/bootct - ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootct - rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT - ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT -release: check_RELEASEDIR .WAIT uboot.lif - ${HOST_INSTALL_FILE} -m ${NONBINMODE} uboot.lif \ +release: check_RELEASEDIR .WAIT ${PROG} + ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${PROG} \ ${RELEASEDIR}/${MACHINE}/installation/misc/SYS_UBOOT