diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -110,6 +110,7 @@ $(ALL_MAKEFILES): %/Makefile: $(top_srcdir)/%/Makefile | |||
110 | include $(patsubst %,%/Makefile.in, $(SRC_DIRS)) | 110 | include $(patsubst %,%/Makefile.in, $(SRC_DIRS)) |
111 | -include $(top_builddir)/.depend | 111 | -include $(top_builddir)/.depend |
112 | 112 | ||
113 | %.o: .depend | ||
113 | busybox: $(ALL_MAKEFILES) .depend $(libraries-y) | 114 | busybox: $(ALL_MAKEFILES) .depend $(libraries-y) |
114 | $(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group | 115 | $(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group |
115 | $(STRIPCMD) $@ | 116 | $(STRIPCMD) $@ |
@@ -196,7 +197,8 @@ endif | |||
196 | .depend: scripts/bb_mkdep $(DEP_INCLUDES) | 197 | .depend: scripts/bb_mkdep $(DEP_INCLUDES) |
197 | @rm -f .depend | 198 | @rm -f .depend |
198 | @mkdir -p include/config | 199 | @mkdir -p include/config |
199 | scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@ | 200 | scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@.tmp |
201 | mv $@.tmp $@ | ||
200 | 202 | ||
201 | include/config.h: .config | 203 | include/config.h: .config |
202 | @if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \ | 204 | @if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \ |