Source-Changes-HG archive

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

[src/netbsd-1-5]: src/distrib/arm32/kernels Pullup 1.1 [matt]:



details:   https://anonhg.NetBSD.org/src/rev/edd40b7ed5ba
branches:  netbsd-1-5
changeset: 490202:edd40b7ed5ba
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Nov 13 19:18:57 2000 +0000

description:
Pullup 1.1 [matt]:
Make the install kernel images by installing the ramdisk image into them.

diffstat:

 distrib/arm32/kernels/Makefile |  33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diffs (37 lines):

diff -r 938d653d6611 -r edd40b7ed5ba distrib/arm32/kernels/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/arm32/kernels/Makefile    Mon Nov 13 19:18:57 2000 +0000
@@ -0,0 +1,33 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/11/13 19:18:57 tv Exp $
+
+TOP=           ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
+.include <bsd.kernobj.mk>
+.include <bsd.own.mk>
+
+KERNELS=       A7INST CATSINST RPCINST SHARKINST
+
+STRIP?=                strip
+
+RAMDISK!=      cd $(.CURDIR)/../ramdisk/; \
+                   printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk-${REV}.fs\n" | \
+                   ${MAKE} -s -f-
+
+CLEANFILES+=   netbsd.tmp ${KERNELS:C/^.*$/netbsd.&.gz/g}
+
+all:   ${KERNELS:C/^.*$/netbsd.&.gz/g}
+
+.for kern in ${KERNELS}
+netbsd.${kern}.gz: ${KERNOBJDIR}/${kern}/netbsd ${RAMDISK}
+       cp ${KERNOBJDIR}/${kern}/netbsd netbsd.tmp
+       mdsetimage -v netbsd.tmp ${RAMDISK}
+       ${STRIP} netbsd.tmp
+       gzip -9 netbsd.tmp
+       mv netbsd.tmp.gz ${.TARGET}
+.endfor
+
+clean cleandir distclean:
+       /bin/rm -f *.core ${CLEANFILES}
+
+.include <bsd.obj.mk>



Home | Main Index | Thread Index | Old Index