Source-Changes-HG archive

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

[src/trunk]: src/distrib/arm32 Support "make release" and descend into the ne...



details:   https://anonhg.NetBSD.org/src/rev/a4d7893060c9
branches:  trunk
changeset: 499117:a4d7893060c9
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Nov 12 00:51:36 2000 +0000

description:
Support "make release" and descend into the new kernels subdir.

diffstat:

 distrib/arm32/Makefile |  26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r e6e319a5ec1f -r a4d7893060c9 distrib/arm32/Makefile
--- a/distrib/arm32/Makefile    Sat Nov 11 22:47:57 2000 +0000
+++ b/distrib/arm32/Makefile    Sun Nov 12 00:51:36 2000 +0000
@@ -1,5 +1,27 @@
-# $NetBSD: Makefile,v 1.1 1997/10/18 04:15:01 mark Exp $
+# $NetBSD: Makefile,v 1.2 2000/11/12 00:51:36 matt Exp $
 
-SUBDIR= ramdisk
+ITARGET=       ${RELEASEDIR}/installation
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
+               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+KERNELS=       A7INST CATSINST RPCINST SHARKINST
+
+SUBDIR= ramdisk kernels
+
+REV!=sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s
 
 .include <bsd.subdir.mk>
+
+.ifndef RELEASEDIR
+release:
+       @echo setenv RELEASEDIR first
+       @false
+.else
+RAMDISKOBJ != cd ${.CURDIR}/ramdisk; ${MAKE} print-objdir
+KERNELOBJ != cd ${.CURDIR}/kernels; ${MAKE} print-objdir
+
+release:
+       ${IINST} ${RAMDISKOBJ}/ramdisk-${REV}.fs.gz ${ITARGET}/misc/
+.for kern in ${KERNELS}
+       ${IINST} ${KERNELOBJ}/netbsd.${kern}.gz ${ITARGET}/kernel/
+.endfor
+.endif



Home | Main Index | Thread Index | Old Index