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 Pullup 1.2 [matt]:



details:   https://anonhg.NetBSD.org/src/rev/535300b11da5
branches:  netbsd-1-5
changeset: 490200:535300b11da5
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Nov 13 19:16:23 2000 +0000

description:
Pullup 1.2 [matt]:
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 7cd21cc9f43c -r 535300b11da5 distrib/arm32/Makefile
--- a/distrib/arm32/Makefile    Mon Nov 13 19:14:51 2000 +0000
+++ b/distrib/arm32/Makefile    Mon Nov 13 19:16:23 2000 +0000
@@ -1,5 +1,27 @@
-# $NetBSD: Makefile,v 1.1 1997/10/18 04:15:01 mark Exp $
+# $NetBSD: Makefile,v 1.1.12.1 2000/11/13 19:16:23 tv 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