From 016d6289a16a738bc4f13a45ba273738b27a6248 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 24 Sep 2005 06:15:23 +0000 Subject: [PATCH] fix parallel building again --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \