Home | History | Annotate | Line # | Download | only in etc.i386
Makefile.inc revision 1.21.2.5
      1  1.21.2.5       he #	$NetBSD: Makefile.inc,v 1.21.2.5 2001/04/25 09:11:01 he 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.21.2.5       he 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.21.2.4     fvdl BUILD_KERNELS+= INSTALL INSTALL_SMALL INSTALL_TINY INSTALL_LAPTOP
     11  1.21.2.4     fvdl EXTRA_KERNEL_SETS=tiny laptop
     12  1.21.2.2    jhawk INSTALLATION_DIRS += installation/misc
     13      1.13       he 
     14  1.21.2.3  hubertf # mkisofs arguments to generate bootable iso image
     15  1.21.2.3  hubertf MKISOFS_FLAGS+=	-b installation/floppy/boot-big.fs
     16  1.21.2.3  hubertf 
     17  1.21.2.4     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.21.2.4     fvdl .for kernel in ${EXTRA_KERNEL_SETS}
     21  1.21.2.4     fvdl 	uppername=`echo ${kernel} | tr 'a-z' 'A-Z'` && \
     22  1.21.2.4     fvdl 		cd ${KERNOBJDIR}/GENERIC_$$uppername &&     \
     23  1.21.2.4     fvdl 		tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\
     24  1.21.2.4     fvdl 		gzip -c -9 > ${RELEASEDIR}/binary/sets/kern-${kernel}.tgz
     25  1.21.2.4     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.21.2.2    jhawk 	cd ${.CURDIR}/../sys/arch/i386/stand/dosboot && ${MAKE} release
     33  1.21.2.1   toddpw 	sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/floppy '*.gz'
     34  1.21.2.3  hubertf 
     35  1.21.2.3  hubertf # For "make iso-image"
     36  1.21.2.3  hubertf iso-image_md_pre:
     37  1.21.2.3  hubertf 	echo iso-image_md_pre ${MACHINE_ARCH}
     38  1.21.2.3  hubertf iso-image_md_post:
     39  1.21.2.3  hubertf 	echo iso-image_md_post ${MACHINE_ARCH}
     40