1999-04-27 16:32:08 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.5 1999/04/27 12:32:08 simonb Exp $
|
1997-11-11 07:37:17 +03:00
|
|
|
#
|
|
|
|
# etc.pmax/Makefile.inc -- pmax-specific etc Makefile targets
|
|
|
|
#
|
1999-02-05 06:01:49 +03:00
|
|
|
|
|
|
|
# Set this for any kernels beyond GENERIC you want to include
|
|
|
|
# in the distribution.
|
|
|
|
#EXTRA_KERNELS+=
|
1999-04-27 08:36:25 +04:00
|
|
|
|
|
|
|
# Set this for any kernels beyond GENERIC and ${EXTRA_KERNELS} you
|
|
|
|
# need to build to make installation tools/media.
|
|
|
|
BUILD_KERNELS+=INSTALL RAMDISK
|
|
|
|
|
|
|
|
# Add any extra release directories to be made
|
|
|
|
INSTALLATION_DIRS+=installation/diskimage installation/netboot
|
|
|
|
|
|
|
|
# location and name of the stripped down NFS install kernel
|
|
|
|
NFSCONF= INSTALL
|
|
|
|
NFSKERNNAME= nfsnetbsd
|
|
|
|
# We don't know about ${KERNOBJDIR} yet ...
|
|
|
|
NFSKERNDIR= ${.CURDIR:C/[^\/]+$//}sys/arch/${MACHINE}/compile/${NFSCONF}
|
|
|
|
NFSKERN= ${NFSKERNDIR}/${NFSKERNNAME}
|
|
|
|
|
|
|
|
snap_md_post: ${DISKIMAGE} ${DISKIMAGE_TAR} ${INSTALLKERN}
|
|
|
|
${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
|
|
|
|
-m ${BINMODE} ${NFSKERN}.ecoff \
|
|
|
|
${RELEASEDIR}/binary/kernel/${NFSKERNNAME}
|
|
|
|
gzip -9 ${RELEASEDIR}/binary/kernel/${NFSKERNNAME}
|
1999-04-27 16:32:08 +04:00
|
|
|
(cd ${.CURDIR}/../distrib/pmax && \
|
|
|
|
${MAKE} depend && ${MAKE} ${_J} && ${MAKE} install)
|