Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/arm32/kernels Make the install kernel images by inst...
details: https://anonhg.NetBSD.org/src/rev/104528b02ec8
branches: trunk
changeset: 499119:104528b02ec8
user: matt <matt%NetBSD.org@localhost>
date: Sun Nov 12 00:56:13 2000 +0000
description:
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 14da2598fa97 -r 104528b02ec8 distrib/arm32/kernels/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/arm32/kernels/Makefile Sun Nov 12 00:56:13 2000 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2000/11/12 00:56:13 matt 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