1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

fix parallel build issues

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7941 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-07-12 12:50:16 +00:00
parent 46174d7bab
commit 4914eabbba

View File

@ -24,13 +24,13 @@ $(STAMP_DIR) $(TARGET_DIR):
ifeq ($(QUIET),1) ifeq ($(QUIET),1)
%-compile %-install: FORCE %-compile %-install: FORCE
$(MAKE) -C $* $(patsubst $*-%,%,$@) || { $(call MESSAGE, "*** $* $(patsubst $*-%,%,$@) failed"); false; } $(MAKE) -j1 -C $* $(patsubst $*-%,%,$@) || { $(call MESSAGE, "*** $* $(patsubst $*-%,%,$@) failed"); false; }
%-prepare %-prereq %-download %-clean: FORCE %-prepare %-prereq %-download %-clean: FORCE
else else
%-prepare %-prereq %-download %-clean %-compile %-install: FORCE %-prepare %-prereq %-download %-clean %-compile %-install: FORCE
endif endif
$(MAKE) -C $* $(patsubst $*-%,%,$@) $(MAKE) -j1 -C $* $(patsubst $*-%,%,$@)
%-refresh %-update: %-refresh %-update:
-$(MAKE) -C $* $(patsubst $*-%,%,$@) -$(MAKE) -C $* $(patsubst $*-%,%,$@)