Source-Changes-HG archive

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

[src/trunk]: src/distrib/common Add a dependency for Makefile so that when yo...



details:   https://anonhg.NetBSD.org/src/rev/695a20ecf45f
branches:  trunk
changeset: 780326:695a20ecf45f
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jul 20 11:19:03 2012 +0000

description:
Add a dependency for Makefile so that when you add device to the Makefile
it will automatically regenerate the device mtree file and cause the ramdisk
to be updated.

diffstat:

 distrib/common/Makefile.makedev |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ef936f8c9ecb -r 695a20ecf45f distrib/common/Makefile.makedev
--- a/distrib/common/Makefile.makedev   Fri Jul 20 09:27:11 2012 +0000
+++ b/distrib/common/Makefile.makedev   Fri Jul 20 11:19:03 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.makedev,v 1.16 2012/02/18 14:26:27 njoly Exp $
+#      $NetBSD: Makefile.makedev,v 1.17 2012/07/20 11:19:03 matt Exp $
 #
 # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list
 # (if set), otherwise copy .OBJDIR-of-etc/MAKEDEV to ./dev
@@ -41,7 +41,7 @@
 #
 MTREECONF+=    ${MAKEDEVSPEC}
 
-${MAKEDEVSPEC}:        ${MAKEDEVSCRIPT}
+${MAKEDEVSPEC}:        ${MAKEDEVSCRIPT} Makefile
        ${_MKTARGET_CREATE}
        rm -f ${.TARGET} ${.TARGET}.tmp
        MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \



Home | Main Index | Thread Index | Old Index