The sgimips files will be extracted into a different directory if sgimips

is on an image of a different name - compensate.
This commit is contained in:
riz 2005-12-03 01:23:23 +00:00
parent e968750664
commit 28cb63d856
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2005/10/22 15:56:16 riz Exp $ # $NetBSD: Makefile,v 1.27 2005/12/03 01:23:23 riz Exp $
# #
# Consult "*.conf" for the configuration variables; this Makefile is typically # Consult "*.conf" for the configuration variables; this Makefile is typically
# not edited for basic configuration changes. # not edited for basic configuration changes.
@ -434,9 +434,9 @@ ${IMAGEDIR}/${image}.iso: size-${image}
cp $@ $@.tmp cp $@ $@.tmp
dd if=/dev/zero bs=512 count=${SGIVOLHDR.size:sh} >> $@ dd if=/dev/zero bs=512 count=${SGIVOLHDR.size:sh} >> $@
${TOOLDIR}/bin/nbsgivol -f -i $@ ${TOOLDIR}/bin/nbsgivol -f -i $@
${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${STAGEDIR}/sgimipscd/aoutboot $@ ${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${STAGEDIR}/${image}/aoutboot $@
${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${STAGEDIR}/sgimipscd/ip2xboot $@ ${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${STAGEDIR}/${image}/ip2xboot $@
${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${STAGEDIR}/sgimipscd/ip3xboot $@ ${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${STAGEDIR}/${image}/ip3xboot $@
dd if=$@.tmp of=$@ bs=512 seek=${SGIVOLHDR.size:sh} dd if=$@.tmp of=$@ bs=512 seek=${SGIVOLHDR.size:sh}
rm -f $@.tmp rm -f $@.tmp
.endif .endif