NetBSD/etc/etc.mac68k/Makefile.inc

29 lines
932 B
Makefile

# $NetBSD: Makefile.inc,v 1.4 2000/03/30 03:25:48 fredb Exp $
#
# mac68k-specific release building goo
#
# You will find no configs for GENERICSBC or INSTALLSBC in the
# sources. That's because they're trivial to generate--each is
# simply its corresponding config with "ncrscsi" commented out,
# and "sbc" uncommented.
#
BUILD_KERNELS?= INSTALL # INSTALLSBC
EXTRA_KERNELS?= # GENERICSBC
INSTALLATION_DIRS+= installation/instkernel
snap_md_post:
.ifndef UPDATE
cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} clean
.endif
cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE}
.ifndef UPDATE
cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} clean
.endif
.for k in ${BUILD_KERNELS}
cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release INSTALL_KERNEL=${k}
.endfor
sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel