From c5eab84d364dd34f39d34f7b747a2e4da52f51b9 Mon Sep 17 00:00:00 2001 From: vapier Date: Sat, 24 Sep 2005 06:15:23 +0000 Subject: fix parallel building again git-svn-id: svn://busybox.net/trunk/busybox@11621 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- 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 \ -- cgit v1.2.3-55-g6feb