Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/vax/ramdisk-kernel Build the INSTALL ramdisk kernel
details: https://anonhg.NetBSD.org/src/rev/009e56ac565f
branches: trunk
changeset: 486508:009e56ac565f
user: matt <matt%NetBSD.org@localhost>
date: Tue May 23 18:34:58 2000 +0000
description:
Build the INSTALL ramdisk kernel
diffstat:
distrib/vax/ramdisk-kernel/Makefile | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diffs (40 lines):
diff -r 1f9e7a41207f -r 009e56ac565f distrib/vax/ramdisk-kernel/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/vax/ramdisk-kernel/Makefile Tue May 23 18:34:58 2000 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2000/05/23 18:34:58 matt Exp $
+
+TOP= ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
+.include <bsd.kernobj.mk>
+
+MDEC= ${DESTDIR}/usr/mdec
+STRIP?= strip
+
+RAMDISK!= cd $(.CURDIR)/../ramdisk/; \
+ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
+ ${MAKE} -s -f-
+
+.for kernel in INSTALL
+netbsd.${kernel}.gz: .NOTMAIN ${KERNOBJDIR}/${kernel}/netbsd ${RAMDISK}
+ cp ${KERNOBJDIR}/${kernel}/netbsd netbsd.tmp
+ ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
+ ${STRIP} netbsd.tmp
+ gzip -9 netbsd.tmp
+ mv netbsd.tmp.gz ${.TARGET}
+KERNELS+= netbsd.${kernel}.gz
+.endfor
+
+all: ${KERNELS}
+
+release:
+ -mkdir -p ${RELEASEDIR}/binary/kernel
+ cp -p ${KERNELS} ${RELEASEDIR}/binary/kernel
+
+clean cleandir distclean:
+ rm -f *.core ${KERNELS}
+
+.include <bsd.own.mk>
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>
Home |
Main Index |
Thread Index |
Old Index