1 # $NetBSD: Makefile.inc,v 1.28 2001/07/21 13:38:22 jdolecek Exp $ 2 # 3 # etc.i386/Makefile.inc -- i386-specific etc Makefile targets 4 # 5 6 # These are packaged and distributed 7 EXTRA_KERNELS+= GENERIC_TINY GENERIC_LAPTOP GENERIC_DIAGNOSTIC 8 9 # These are for use by the bootfloppy construction tools 10 BUILD_KERNELS+= INSTALL INSTALL_SMALL INSTALL_TINY INSTALL_LAPTOP INSTALL_PS2 11 EXTRA_KERNEL_SETS=tiny laptop 12 INSTALLATION_DIRS += installation/misc 13 14 # mkisofs arguments to generate bootable iso image 15 MKISOFS_FLAGS+= -b installation/floppy/boot-big.fs 16 17 # Tar up extra kernel sets. 18 # Build the boot floppies and install them 19 snap_md_post: 20 .for kernel in ${EXTRA_KERNEL_SETS} 21 uppername=`echo ${kernel} | tr 'a-z' 'A-Z'` && \ 22 cd ${KERNOBJDIR}/GENERIC_$$uppername && \ 23 tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\ 24 gzip -c -9 > ${RELEASEDIR}/binary/sets/kern-${kernel}.tgz 25 .endfor 26 .ifndef UPDATE 27 cd ${.CURDIR}/../distrib && ${MAKE} cleandir 28 .endif 29 cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE} 30 cd ${.CURDIR}/../distrib/i386 && ${MAKE} release 31 cd ${.CURDIR}/../distrib/notes && ${MAKE} release 32 cd ${.CURDIR}/../sys/arch/i386/stand/dosboot && ${MAKE} release 33 sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/floppy '*.gz' 34 35 # For "make iso-image" 36 iso-image_md_pre: 37 echo iso-image_md_pre ${MACHINE_ARCH} 38 iso-image_md_post: 39 echo iso-image_md_post ${MACHINE_ARCH} 40