Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf If using mdsetimage to install a ramdis...



details:   https://anonhg.NetBSD.org/src/rev/116f64d87aaa
branches:  trunk
changeset: 787876:116f64d87aaa
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 10 20:25:21 2013 +0000

description:
If using mdsetimage to install a ramdisk install, add the ramdisk to SYSTEM_DEP
so the kernel will be relinked and the new ramdisk installed.

diffstat:

 sys/arch/evbarm/conf/Makefile.evbarm.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1ea0f227ca2d -r 116f64d87aaa sys/arch/evbarm/conf/Makefile.evbarm.inc
--- a/sys/arch/evbarm/conf/Makefile.evbarm.inc  Wed Jul 10 19:14:07 2013 +0000
+++ b/sys/arch/evbarm/conf/Makefile.evbarm.inc  Wed Jul 10 20:25:21 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.evbarm.inc,v 1.24 2013/06/28 05:59:38 matt Exp $
+#      $NetBSD: Makefile.evbarm.inc,v 1.25 2013/07/10 20:25:21 matt Exp $
 
 #
 # If this is a install kernel and the ramdisk image exists in the object
@@ -9,6 +9,7 @@
 RAMDISKDIR!=   cd ${NETBSDSRCDIR}/distrib/${THISARM:T}/instkernel/${RAMDISKNAME} && ${PRINTOBJDIR}
 
 .if exists(${RAMDISKDIR}/${RAMDISKNAME}.fs)
+SYSTEM_DEP+=   ${RAMDISKDIR}/${RAMDISKNAME}.fs
 SYSTEM_LD_TAIL_EXTRA+=; \
        echo ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/${RAMDISKNAME}.fs; \
        ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/${RAMDISKNAME}.fs



Home | Main Index | Thread Index | Old Index