Source-Changes-HG archive

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

[src/trunk]: src/distrib/evbarm/instkernel/ramdisk Create the ramdisk destina...



details:   https://anonhg.NetBSD.org/src/rev/de952e521a0e
branches:  trunk
changeset: 826199:de952e521a0e
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 20 15:38:22 2017 +0000

description:
Create the ramdisk destination dir here.

diffstat:

 distrib/evbarm/instkernel/ramdisk/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r f9b57bfd8c58 -r de952e521a0e distrib/evbarm/instkernel/ramdisk/Makefile
--- a/distrib/evbarm/instkernel/ramdisk/Makefile        Sun Aug 20 15:35:31 2017 +0000
+++ b/distrib/evbarm/instkernel/ramdisk/Makefile        Sun Aug 20 15:38:22 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2017/07/05 19:50:49 jmcneill Exp $
+#      $NetBSD: Makefile,v 1.18 2017/08/20 15:38:22 christos Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -38,11 +38,13 @@
 .include "${DISTRIBDIR}/common/Makefile.makedev"
 .include "${DISTRIBDIR}/common/Makefile.image"
 
+RAMDISKDIR=${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk
+
 release:       ${IMAGE}
-       ${RELEASE_INSTALL} ${IMAGE} \
-           ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
+       ${INSTALL} -d -m 755 ${RAMDISKDIR}
+       ${RELEASE_INSTALL} ${IMAGE}  ${RAMDISKDIR}
        ${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/}
+           ${RAMDISKDIR}/${IMAGE:S/.fs/.ub/}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index