Module Name:    src
Committed By:   matt
Date:           Wed Jul 10 20:25:21 UTC 2013

Modified Files:
        src/sys/arch/evbarm/conf: Makefile.evbarm.inc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/evbarm/conf/Makefile.evbarm.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/conf/Makefile.evbarm.inc
diff -u src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.24 src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.25
--- src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.24	Fri Jun 28 05:59:38 2013
+++ src/sys/arch/evbarm/conf/Makefile.evbarm.inc	Wed Jul 10 20:25:21 2013
@@ -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 @@ RAMDISKNAME?=	ramdisk
 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

Reply via email to