# $NetBSD: Makefile.inc,v 1.26 2000/10/02 12:51:33 fvdl Exp $ # # etc.i386/Makefile.inc -- i386-specific etc Makefile targets # # These are packaged and distributed EXTRA_KERNELS+= GENERIC_TINY GENERIC_LAPTOP # These are for use by the bootfloppy construction tools BUILD_KERNELS+= INSTALL INSTALL_SMALL INSTALL_TINY INSTALL_LAPTOP EXTRA_KERNEL_SETS=tiny laptop INSTALLATION_DIRS += installation/misc # mkisofs arguments to generate bootable iso image MKISOFS_FLAGS+= -b installation/floppy/boot-big.fs # Tar up extra kernel sets. # Build the boot floppies and install them snap_md_post: .for kernel in ${EXTRA_KERNEL_SETS} uppername=`echo ${kernel} | tr 'a-z' 'A-Z'` && \ cd ${KERNOBJDIR}/GENERIC_$$uppername && \ tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\ gzip -c -9 > ${RELEASEDIR}/binary/sets/kern-${kernel}.tgz .endfor .ifndef UPDATE cd ${.CURDIR}/../distrib && ${MAKE} cleandir .endif cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE} cd ${.CURDIR}/../distrib/i386 && ${MAKE} release cd ${.CURDIR}/../distrib/notes && ${MAKE} release cd ${.CURDIR}/../sys/arch/i386/stand/dosboot && ${MAKE} release sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/floppy '*.gz' # For "make iso-image" iso-image_md_pre: echo iso-image_md_pre ${MACHINE_ARCH} iso-image_md_post: echo iso-image_md_post ${MACHINE_ARCH}