Source-Changes-HG archive

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

[src/trunk]: src Copy install ramdisk to releasedir. Provide both a raw ffs and



details:   https://anonhg.NetBSD.org/src/rev/05fcd888b6db
branches:  trunk
changeset: 354944:05fcd888b6db
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Jul 05 19:50:49 2017 +0000

description:
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.

diffstat:

 distrib/evbarm/instkernel/ramdisk/Makefile |  9 +++++++--
 etc/etc.evbarm/Makefile.inc                |  5 +++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 9b3554f00e59 -r 05fcd888b6db distrib/evbarm/instkernel/ramdisk/Makefile
--- a/distrib/evbarm/instkernel/ramdisk/Makefile        Wed Jul 05 19:47:11 2017 +0000
+++ b/distrib/evbarm/instkernel/ramdisk/Makefile        Wed Jul 05 19:50:49 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2017/01/27 15:20:31 rin Exp $
+#      $NetBSD: Makefile,v 1.17 2017/07/05 19:50:49 jmcneill Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -38,6 +38,11 @@
 .include "${DISTRIBDIR}/common/Makefile.makedev"
 .include "${DISTRIBDIR}/common/Makefile.image"
 
-release:
+release:       ${IMAGE}
+       ${RELEASE_INSTALL} ${IMAGE} \
+           ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
+       ${TOOL_MKUBOOTIMAGE} -A arm -C none -O linux -T ramdisk \
+           -a 0 -n "NetBSD/${MACHINE_ARCH} ramdisk" ${IMAGE} \
+           ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/${IMAGE:S/.fs/.ub/}
 
 .include <bsd.prog.mk>
diff -r 9b3554f00e59 -r 05fcd888b6db etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc       Wed Jul 05 19:47:11 2017 +0000
+++ b/etc/etc.evbarm/Makefile.inc       Wed Jul 05 19:50:49 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.86 2017/07/05 17:19:52 jmcneill Exp $
+#      $NetBSD: Makefile.inc,v 1.87 2017/07/05 19:50:49 jmcneill Exp $
 #
 #      etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
 #
@@ -197,4 +197,5 @@
 KERNEL_SUFFIXES=       bin srec ub
 
 INSTALLATION_DIRS+=    binary/gzimg            \
-                       installation/instkernel
+                       installation/instkernel \
+                       installation/ramdisk



Home | Main Index | Thread Index | Old Index