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 6be57b5..512fc80 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