Regenerate the busybox.links file when the .config changes
authorEric Andersen <andersen@codepoet.org>
Wed, 25 Jun 2003 03:26:04 +0000 (03:26 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 25 Jun 2003 03:26:04 +0000 (03:26 -0000)
Makefile

index 6be57b55458424db84e5de2cf119bb4093ab23a6..512fc807fc6c1b3e61210a23edb1a55b6e87959a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,11 +39,11 @@ all: busybox busybox.links #doc
 -include .config.cmd
 include $(patsubst %,%/Makefile.in, $(DIRS))
 
-busybox: .depend $(libraries-y)
+busybox: .depend include/config.h $(libraries-y ) 
        $(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES)
        $(STRIPCMD) $@
 
-busybox.links: applets/busybox.mkll
+busybox.links: applets/busybox.mkll include/config.h
        - $(SHELL) $^ >$@
 
 install: applets/install.sh busybox busybox.links