use distrib/common/sunbootcd.sh instead of building the

non-cross-friendly distrib/utils/mksunbootcd/mksunbootcd
This commit is contained in:
lukem 2003-03-07 09:46:51 +00:00
parent 43dbccb5e3
commit 4d531936c1
2 changed files with 7 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.33 2003/01/13 07:11:42 matt Exp $
# $NetBSD: Makefile.inc,v 1.34 2003/03/07 09:46:51 lukem Exp $
#
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
#
@ -45,4 +45,5 @@ CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR}
CDBOOTIMAGE= ${CDBOOTIMAGEDIR}/boot.fs
iso-image_md_post:
mksunbootcd ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
SUNLABEL=${SUNLABEL:Q} sh ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.22 2003/02/08 18:39:56 martin Exp $
# $NetBSD: Makefile.inc,v 1.23 2003/03/07 09:46:52 lukem Exp $
#
# etc.sparc64/Makefile.inc -- sparc64-specific etc Makefile targets
#
@ -73,11 +73,7 @@ snap_md_post:
ISOBOOTFILEDIR!=cd ${.CURDIR}/../distrib/${MACHINE}/bootfs && ${PRINTOBJDIR}
ISOBOOTFILE?= ${ISOBOOTFILEDIR}/boot.fs
MKSUNBOOTCDDIR!=cd ${.CURDIR}/../distrib/utils/mksunbootcd && ${PRINTOBJDIR}
MKSUNBOOTCD?= ${MKSUNBOOTCDDIR}/mksunbootcd
${MKSUNBOOTCD}:
cd ${MKSUNBOOTCDDIR} && ${MAKE}
iso-image_md_post: ${MKSUNBOOTCD}
${MKSUNBOOTCD} -c 640 ${CDROM.image} /dev/null /dev/null /dev/null /dev/null ${ISOBOOTFILE}
iso-image_md_post:
SUNLABEL=${SUNLABEL:Q} sh ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
${CDROM.image} - - - - ${ISOBOOTFILE}