2001-04-22 00:56:50 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.27 2001/04/21 20:56:50 fvdl Exp $
|
1994-03-05 11:06:41 +03:00
|
|
|
#
|
|
|
|
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
|
|
|
|
#
|
1996-10-16 06:25:08 +04:00
|
|
|
|
1999-11-09 03:22:39 +03:00
|
|
|
# These are packaged and distributed
|
2001-04-22 00:56:50 +04:00
|
|
|
EXTRA_KERNELS+= GENERIC_TINY GENERIC_LAPTOP GENERIC_DIAGNOSTIC
|
1999-11-09 03:22:39 +03:00
|
|
|
|
|
|
|
# These are for use by the bootfloppy construction tools
|
2000-09-28 00:05:54 +04:00
|
|
|
BUILD_KERNELS+= INSTALL INSTALL_SMALL INSTALL_TINY INSTALL_LAPTOP
|
2000-10-02 16:51:33 +04:00
|
|
|
EXTRA_KERNEL_SETS=tiny laptop
|
2000-08-24 01:00:46 +04:00
|
|
|
INSTALLATION_DIRS += installation/misc
|
1999-11-09 03:22:39 +03:00
|
|
|
|
2000-09-12 01:53:30 +04:00
|
|
|
# mkisofs arguments to generate bootable iso image
|
|
|
|
MKISOFS_FLAGS+= -b installation/floppy/boot-big.fs
|
|
|
|
|
2000-10-02 16:51:33 +04:00
|
|
|
# Tar up extra kernel sets.
|
2000-03-26 19:48:22 +04:00
|
|
|
# Build the boot floppies and install them
|
2000-03-30 03:47:53 +04:00
|
|
|
snap_md_post:
|
2000-10-02 16:51:33 +04:00
|
|
|
.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
|
1999-11-09 03:22:39 +03:00
|
|
|
.ifndef UPDATE
|
2000-05-28 21:31:27 +04:00
|
|
|
cd ${.CURDIR}/../distrib && ${MAKE} cleandir
|
1999-11-09 03:22:39 +03:00
|
|
|
.endif
|
2000-05-28 21:31:27 +04:00
|
|
|
cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
|
|
|
|
cd ${.CURDIR}/../distrib/i386 && ${MAKE} release
|
|
|
|
cd ${.CURDIR}/../distrib/notes && ${MAKE} release
|
2000-08-24 01:00:46 +04:00
|
|
|
cd ${.CURDIR}/../sys/arch/i386/stand/dosboot && ${MAKE} release
|
2000-08-11 13:20:38 +04:00
|
|
|
sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/floppy '*.gz'
|
2000-09-12 01:53:30 +04:00
|
|
|
|
|
|
|
# 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}
|