diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-04-06 15:19:52 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-04-06 15:19:52 +0000 |
commit | da8d1ea99cc914b289923c3f285d7a5728f40498 (patch) | |
tree | 88c9b2247ae257c12430bf664caffa46d5e053e7 | |
parent | e8898abb5f5a7be06bc9a006d6dc0306e6d318b5 (diff) | |
download | busybox-w32-da8d1ea99cc914b289923c3f285d7a5728f40498.tar.gz busybox-w32-da8d1ea99cc914b289923c3f285d7a5728f40498.tar.bz2 busybox-w32-da8d1ea99cc914b289923c3f285d7a5728f40498.zip |
Fix it so build dependancies actually work and do something useful
git-svn-id: svn://busybox.net/trunk/busybox@8703 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -46,6 +46,7 @@ all: busybox busybox.links doc | |||
46 | # In this section, we need .config | 46 | # In this section, we need .config |
47 | -include .config.cmd | 47 | -include .config.cmd |
48 | include $(patsubst %,%/Makefile.in, $(DIRS)) | 48 | include $(patsubst %,%/Makefile.in, $(DIRS)) |
49 | -include $(TOPDIR).depend | ||
49 | 50 | ||
50 | busybox: .depend include/config.h $(libraries-y) | 51 | busybox: .depend include/config.h $(libraries-y) |
51 | $(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group | 52 | $(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group |
@@ -138,9 +139,9 @@ scripts/split-include: scripts/split-include.c | |||
138 | mkdir -p include/config; | 139 | mkdir -p include/config; |
139 | $(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c | 140 | $(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c |
140 | scripts/mkdep -I include -- \ | 141 | scripts/mkdep -I include -- \ |
141 | `find . -name \*.c -print` >> .depend; | 142 | `find -name \*.c -print | sed -e "s,^./,,"` >> .depend; |
142 | scripts/mkdep -I include -- \ | 143 | scripts/mkdep -I include -- \ |
143 | `find . -name \*.h -print` >> .hdepend; | 144 | `find -name \*.h -print | sed -e "s,^./,,"` >> .hdepend; |
144 | 145 | ||
145 | depend dep: include/config.h .depend | 146 | depend dep: include/config.h .depend |
146 | 147 | ||