7b4296a270
- Add ${.CURDIR} to various rules. - Remove the ${KERNOBJDIR} (sys/arch/${MACHINE}/compile) objdir creation from here. - Rework iso-image to copy temporary files (such as kernels or boot files) into a temporary directory instead of stomping over ${RELEASEDIR}, and use mkisofs -graft-points to merge the temporary directory and ${RELEASEDIR}/${MACHINE}. NOTE: mkisofs 2.0 is highly recommended for functioning -graft-points - Add some more comments
25 lines
829 B
Makefile
25 lines
829 B
Makefile
# $NetBSD: Makefile.inc,v 1.38 2003/01/04 15:49:31 lukem Exp $
|
|
#
|
|
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
|
|
#
|
|
|
|
KERNEL_SETS= GENERIC GENERIC_TINY GENERIC_LAPTOP \
|
|
GENERIC_DIAGNOSTIC GENERIC_PS2TINY GENERIC.MP
|
|
|
|
BUILD_KERNELS= INSTALL INSTALL_SMALL INSTALL_TINY \
|
|
INSTALL_LAPTOP INSTALL_PS2
|
|
|
|
INSTALLATION_DIRS+= installation/misc \
|
|
installation/floppy
|
|
|
|
# i386 specific distrib stuff
|
|
snap_md_post:
|
|
cd ${KERNSRCDIR}/arch/i386/stand/dosboot && ${MAKE} release
|
|
cd ${KERNSRCDIR}/arch/i386/stand/misc && ${MAKE} release
|
|
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/floppy '*.fs'
|
|
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/misc '*.*'
|
|
|
|
# For "make iso-image"
|
|
# mkisofs arguments to generate bootable iso image
|
|
MKISOFS_FLAGS+= -b ${MACHINE}/installation/floppy/boot-big.fs -c boot.catalog
|