fix parallel build issues

SVN-Revision: 7941
owl
Felix Fietkau 2007-07-12 12:50:16 +00:00
parent 6f66bc61f9
commit d6c65d3332
1 changed files with 2 additions and 2 deletions

View File

@ -24,13 +24,13 @@ $(STAMP_DIR) $(TARGET_DIR):
ifeq ($(QUIET),1)
%-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
else
%-prepare %-prereq %-download %-clean %-compile %-install: FORCE
endif
$(MAKE) -C $* $(patsubst $*-%,%,$@)
$(MAKE) -j1 -C $* $(patsubst $*-%,%,$@)
%-refresh %-update:
-$(MAKE) -C $* $(patsubst $*-%,%,$@)