NetBSD/etc/etc.mac68k/Makefile.inc

43 lines
1.3 KiB
PHP
Raw Normal View History

2000-12-07 13:57:17 +03:00
# $NetBSD: Makefile.inc,v 1.7 2000/12/07 10:57:18 toddpw 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.
#
2000-12-07 13:57:17 +03:00
BUILD_KERNELS?= INSTALL INSTALLSBC
EXTRA_KERNELS?= GENERICSBC
INSTALLATION_DIRS+= installation/instkernel
snap_md_post:
.ifndef UPDATE
cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS} clean
.endif
cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS}
.ifndef UPDATE
cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} ${MAKEFLAGS} clean
.endif
.for k in ${BUILD_KERNELS}
2000-12-07 13:57:17 +03:00
.ifndef UPDATE
cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
${MAKE} clean
.endif
cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
2000-12-07 13:57:17 +03:00
${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} && \
${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} release
.endfor
2000-12-07 13:57:17 +03:00
cd ${KERNOBJDIR}/GENERICSBC && \
tar cf - netbsd |\
gzip -c -9 > ${RELEASEDIR}/binary/sets/kern_sbc.tgz
.ifndef UPDATE
cd ${.CURDIR}/../distrib/notes && ${MAKE} clean
.endif
cd ${.CURDIR}/../distrib/notes && \
${MAKE} ${MAKEFLAGS} && \
${MAKE} ${MAKEFLAGS} release
sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel