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