2000-06-11 17:01:29 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.6 2000/06/11 13:01:29 fredb Exp $
|
1999-12-17 23:54:31 +03:00
|
|
|
#
|
|
|
|
# mac68k-specific release building goo
|
|
|
|
#
|
|
|
|
|
2000-03-30 07:25:48 +04:00
|
|
|
# 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.
|
1999-12-17 23:54:31 +03:00
|
|
|
#
|
2000-03-30 07:25:48 +04:00
|
|
|
BUILD_KERNELS?= INSTALL # INSTALLSBC
|
|
|
|
EXTRA_KERNELS?= # GENERICSBC
|
1999-12-17 23:54:31 +03:00
|
|
|
|
2000-03-30 07:25:48 +04:00
|
|
|
INSTALLATION_DIRS+= installation/instkernel
|
1999-12-17 23:54:31 +03:00
|
|
|
|
|
|
|
snap_md_post:
|
|
|
|
.ifndef UPDATE
|
2000-06-11 17:01:29 +04:00
|
|
|
cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS} clean
|
1999-12-17 23:54:31 +03:00
|
|
|
.endif
|
2000-06-11 17:01:29 +04:00
|
|
|
cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS}
|
1999-12-17 23:54:31 +03:00
|
|
|
.ifndef UPDATE
|
2000-06-11 17:01:29 +04:00
|
|
|
cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} ${MAKEFLAGS} clean
|
1999-12-17 23:54:31 +03:00
|
|
|
.endif
|
2000-03-30 07:25:48 +04:00
|
|
|
.for k in ${BUILD_KERNELS}
|
1999-12-17 23:54:31 +03:00
|
|
|
cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
|
2000-06-11 17:01:29 +04:00
|
|
|
${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} && ${MAKE} ${MAKEFLAGS} release INSTALL_KERNEL=${k}
|
1999-12-17 23:54:31 +03:00
|
|
|
.endfor
|
2000-06-11 17:01:29 +04:00
|
|
|
cd ${.CURDIR}/../distrib/notes && ${MAKE} ${MAKEFLAGS} && ${MAKE} ${MAKEFLAGS} release
|
1999-12-17 23:54:31 +03:00
|
|
|
sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel
|