Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/etc/etc.mac68k Pull up revisions 1.1-1.2 and apply patc...



details:   https://anonhg.NetBSD.org/src/rev/f846d1001d7d
branches:  netbsd-1-4
changeset: 470006:f846d1001d7d
user:      he <he%NetBSD.org@localhost>
date:      Sat Jan 08 20:18:26 2000 +0000

description:
Pull up revisions 1.1-1.2 and apply patch (requested by fredb):
  Build the mac68k instkernel (bootable sysinstall), and include
  it in the standard release.

diffstat:

 etc/etc.mac68k/Makefile.inc |  57 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r e72750f3e5d4 -r f846d1001d7d etc/etc.mac68k/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/etc.mac68k/Makefile.inc       Sat Jan 08 20:18:26 2000 +0000
@@ -0,0 +1,57 @@
+#      $NetBSD: Makefile.inc,v 1.2.4.2 2000/01/08 20:18:26 he Exp $
+#
+#      mac68k-specific release building goo
+#
+
+# This is commented out in the distribution, because
+#
+#  1) GENERICSBC isn't distributed
+#     (It's just GENERIC:s/ncrsci/sbc/),
+#
+# and
+#
+#  2) if we include GENERIC here without also setting
+#     UPDATE, we'll end up building GENERIC twice.
+#
+#EXTRA_KERNELS+=               GENERIC GENERICSBC
+EXTRA_INSTALL_KERNELS+=        INSTALL
+
+INSTALLATION_DIRS+=            installation/instkernel
+
+snap_md_post:
+#
+# Build the install kernels...
+#
+.for k in ${EXTRA_INSTALL_KERNELS}
+       cd ${KERNCONFDIR} && config \
+               -b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k}
+.ifndef UPDATE
+       cd ${KERNOBJDIR}/${k} && ${MAKE} cleandir
+.endif
+       cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J}
+.endfor
+#
+# the ramdisk...
+#
+.ifndef UPDATE
+       cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
+               ${MAKE} clean
+.endif
+       cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
+               ${MAKE} ${_J}
+#
+# and put them all together.
+#
+.for k in ${EXTRA_INSTALL_KERNELS}
+.ifndef UPDATE
+       cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
+               ${MAKE} clean
+.endif
+       cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
+               ${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release INSTALL_KERNEL=${k}
+.endfor
+       cd ${RELEASEDIR}/installation/instkernel && \
+               cksum -o 1 *.gz >BSDSUM && \
+               cksum *.gz >CKSUM && \
+               cksum -m *.gz >MD5 && \
+               cksum -o 2 *.gz >SYSVSUM



Home | Main Index | Thread Index | Old Index