We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;

add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
This commit is contained in:
lukem 2002-06-09 04:28:58 +00:00
parent 9d35c8059d
commit 7940b7815e
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2002/05/20 21:50:10 eeh Exp $
# $NetBSD: Makefile,v 1.2 2002/06/09 04:28:58 lukem Exp $
#
# boot.fs is the image for cdrom booting.
#
@ -26,6 +26,7 @@ RAMDISKDIR!= cd ${.CURDIR}/../instfs && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/install.fs
PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootblk
PARSELISTENV= RAMDISKDIR=${RAMDISKDIR:Q}
IMAGEDEPENDS= ${RAMDISKDIR}/netbsd.INSTALL.gz ${DESTDIR}/usr/mdec/ofwboot \
${PRIMARYBOOT}
IMAGEPOSTBUILD= ${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} /boot

View File

@ -1,4 +1,4 @@
# $NetBSD: list,v 1.1 2002/05/20 21:50:11 eeh Exp $
# $NetBSD: list,v 1.2 2002/06/09 04:28:58 lukem Exp $
COPY ${DESTDIR}/usr/mdec/ofwboot ofwboot
COPY ${OBJDIR}/../instfs/netbsd.INSTALL.gz netbsd
COPY ${RAMDISKDIR}/netbsd.INSTALL.gz netbsd