eafd8f707f
and install: o INSTALL and INSTALL_TINY kernels (for boot floppy images) o GENERIC_TINY kernel o Boot floppy images Ideas borrowed from etc/etc.sun3/ setup.
27 lines
773 B
Makefile
27 lines
773 B
Makefile
# $NetBSD: Makefile.inc,v 1.13 1999/11/09 00:22:39 he Exp $
|
|
#
|
|
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
|
|
#
|
|
|
|
# These are packaged and distributed
|
|
EXTRA_KERNELS+= 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
|