NetBSD/etc/etc.i386/Makefile.inc

27 lines
786 B
Makefile

# $NetBSD: Makefile.inc,v 1.14 2000/01/19 08:36:30 mycroft Exp $
#
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
#
# These are packaged and distributed
EXTRA_KERNELS+= GENERIC GENERIC_TINY
# These are for use by the bootfloppy construction tools
INST_KERNELS= INSTALL INSTALL_TINY
# Build the INST_KERNELS and the boot floppies and install them
snap_md_post:
.for k in ${INST_KERNELS}
cd ${KERNCONFDIR} && config \
-b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k}
.ifndef UPDATE
cd ${KERNOBJDIR}/${k} && ${MAKE} clean
.endif
cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J}
.endfor
.ifndef UPDATE
cd ${.CURDIR}/../distrib/i386/floppies && ${MAKE} clean
.endif
cd ${.CURDIR}/../distrib/i386/floppies && \
${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release