Home | History | Annotate | Line # | Download | only in etc.pmax
Makefile.inc revision 1.6.4.1
      1 #	$NetBSD: Makefile.inc,v 1.6.4.1 2001/09/30 11:57:19 he Exp $
      2 #
      3 #	etc.pmax/Makefile.inc -- pmax-specific etc Makefile targets
      4 #
      5 
      6 # Set this for any kernels beyond GENERIC you want to include
      7 # in the distribution.
      8 #EXTRA_KERNELS+=
      9 
     10 # Set this for any kernels beyond GENERIC and ${EXTRA_KERNELS} you
     11 # need to build to make installation tools/media.
     12 BUILD_KERNELS+=INSTALL RAMDISK
     13 
     14 # Add any extra release directories to be made
     15 INSTALLATION_DIRS+=installation/diskimage installation/netboot
     16 
     17 # location and name of the stripped down NFS install kernel
     18 NFSCONF=		INSTALL
     19 NFSKERNNAME=		nfsnetbsd
     20 NFSKERNDIR=		${KERNOBJDIR}/${NFSCONF}
     21 NFSKERN=		${NFSKERNDIR}/${NFSKERNNAME}
     22 
     23 snap_md_post: ${DISKIMAGE} ${DISKIMAGE_TAR} ${INSTALLKERN}
     24 	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
     25 		-m ${BINMODE} ${NFSKERN}.ecoff \
     26 		${RELEASEDIR}/binary/kernel/${NFSKERNNAME}
     27 	gzip -9 ${RELEASEDIR}/binary/kernel/${NFSKERNNAME}
     28 	cd ${.CURDIR}/../distrib/pmax && \
     29 	    ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} install
     30