aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-24 06:15:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-24 06:15:23 +0000
commit016d6289a16a738bc4f13a45ba273738b27a6248 (patch)
treec3505309b2d962526444dfae81d181b10d5b8154
parent0f8a63896e8e932112b5a34765770522cfa07285 (diff)
downloadbusybox-016d6289a16a738bc4f13a45ba273738b27a6248.tar.gz
fix parallel building again
-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
include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
-include $(top_builddir)/.depend
+%.o: .depend
busybox: $(ALL_MAKEFILES) .depend $(libraries-y)
$(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
$(STRIPCMD) $@
@@ -196,7 +197,8 @@ endif
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
@rm -f .depend
@mkdir -p include/config
- scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@
+ scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@.tmp
+ mv $@.tmp $@
include/config.h: .config
@if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \