aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de434cb11..965597298 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,7 @@ $(ALL_MAKEFILES): %/Makefile: $(top_srcdir)/%/Makefile
110include $(patsubst %,%/Makefile.in, $(SRC_DIRS)) 110include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
111-include $(top_builddir)/.depend 111-include $(top_builddir)/.depend
112 112
113%.o: .depend
113busybox: $(ALL_MAKEFILES) .depend $(libraries-y) 114busybox: $(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
201include/config.h: .config 203include/config.h: .config
202 @if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \ 204 @if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \