svn commit: trunk/busybox

vapier at busybox.net vapier at busybox.net
Sat Sep 24 06:15:24 UTC 2005


Author: vapier
Date: 2005-09-23 23:15:23 -0700 (Fri, 23 Sep 2005)
New Revision: 11621

Log:
fix parallel building again

Modified:
   trunk/busybox/Makefile


Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile	2005-09-24 06:07:34 UTC (rev 11620)
+++ trunk/busybox/Makefile	2005-09-24 06:15:23 UTC (rev 11621)
@@ -110,6 +110,7 @@
 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 @@
 .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 \




More information about the busybox-cvs mailing list