summaryrefslogtreecommitdiff
path: root/i386/Makefrag
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-10-24 18:41:28 +0000
committerRoland McGrath <roland@gnu.org>1998-10-24 18:41:28 +0000
commite08a60bb970c66f8dcb6a859eeca77837d2d086d (patch)
tree3c8ef3b6c7412b5f8e78d59997fab542d5d0889e /i386/Makefrag
parentc1078c9866c0ae50eb7ca95b5f0967595b5011d7 (diff)
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* i386/Makefrag ($(systype)/device-drivers.h): Depend on $(systype)/driverlist, and have no commands.
Diffstat (limited to 'i386/Makefrag')
-rw-r--r--i386/Makefrag5
1 files changed, 4 insertions, 1 deletions
diff --git a/i386/Makefrag b/i386/Makefrag
index 8e12479..4e28e09 100644
--- a/i386/Makefrag
+++ b/i386/Makefrag
@@ -167,7 +167,10 @@ i386-installed-headers= mach/proc_ops.h \
$(sysdep)/configure: $(sysdep)/Drivers.in $(srcdir)/Drivers.macros
cd $(sysdep) && rm -f configure && autoconf Drivers.in > configure
-$(systype)/device-drivers.h $(systype)/driverlist: $(sysdep)/driverlist.in $(systype)/config.status
+# Running config.status always creates driverlist, but
+# only touches device-drivers.h if it changed.
+$(systype)/device-drivers.h: $(systype)/driverlist
+$(systype)/driverlist: $(sysdep)/driverlist.in $(systype)/config.status
cd $(systype) && ./config.status
$(systype)/config.status: $(sysdep)/configure