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