Put boot.cfg for bootfloppy into ustarfs without path
so that bootloader can load it properly.
This commit is contained in:
parent
520cbbf81f
commit
cb6c399677
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.bootfloppy,v 1.20 2008/04/30 22:00:05 ad Exp $
|
||||
# $NetBSD: Makefile.bootfloppy,v 1.21 2008/09/26 18:36:44 tsutsui Exp $
|
||||
#
|
||||
# Makefile snippet to create a set of USTAR floppies
|
||||
#
|
||||
@ -18,6 +18,8 @@
|
||||
.include <bsd.own.mk>
|
||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||
|
||||
I386COMMON= ${.CURDIR}/../common
|
||||
|
||||
FLOPPYMAX?= 1
|
||||
FLOPPYSIZE?= 2880
|
||||
.if defined(FLOPPYSIZE) && (${FLOPPYSIZE} != 2880)
|
||||
@ -32,12 +34,19 @@ FLOPPYINSTBOOT= "${TOOL_INSTALLBOOT} ${FLOPPYBOOTOPTIONS} -m${MACHINE} @IMAGE@
|
||||
FLOPPYKERNOBJ!= cd ${.CURDIR}/../../${FLOPPYKERNDIR} && ${PRINTOBJDIR}
|
||||
|
||||
FLOPPY_BOOT?= ${MDEC}/boot
|
||||
FLOPPY_BOOT_CFG?= ${I386COMMON}/boot.cfg
|
||||
FLOPPY_NETBSD= ${FLOPPYKERNOBJ}/${FLOPPYKERNEL}
|
||||
FLOPPYFILES= boot ${DISTRIBDIR}/i386/floppies/common/boot.cfg ${FLOPPYMETAFILE} netbsd
|
||||
FLOPPYFILES= boot boot.cfg ${FLOPPYMETAFILE} netbsd
|
||||
FLOPPYPAD= 1
|
||||
|
||||
FLOPPY_RELEASEDIR= installation/floppy
|
||||
|
||||
CLEANFILES+= boot.cfg
|
||||
boot.cfg: ${FLOPPY_BOOT_CFG}
|
||||
${_MKTARGET_CREATE} "(from: ${.ALLSRC})"
|
||||
@rm -f ${.TARGET}
|
||||
@cp ${FLOPPY_BOOT_CFG} ${.TARGET}
|
||||
|
||||
.include "${DISTRIBDIR}/common/Makefile.tarfloppy"
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user