speed up package/install

SVN-Revision: 6588
This commit is contained in:
Felix Fietkau 2007-03-17 02:54:16 +00:00
parent 04ae63915e
commit b2a976649f
1 changed files with 14 additions and 1 deletions

View File

@ -25,7 +25,20 @@ $(STAMP_DIR) $(TARGET_DIR):
%-prereq: $(STAMP_DIR) $(TARGET_DIR)
$(MAKE) -C $(patsubst %-prereq,%,$@) prereq
$(eval $(call default_subtargets,$(TARGET_DIR)))
%-download: FORCE
$(MAKE) -C $(patsubst %-download,%,$@) download
%-prepare: $(TARGET_DIR) FORCE
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare
%-compile: %-prepare
$(MAKE) -C $(patsubst %-compile,%,$@) compile
%-install:
$(MAKE) -C $(patsubst %-install,%,$@) install
%-clean: FORCE
$(MAKE) -C $(patsubst %-clean,%,$@) clean
ifeq ($(SDK),1)
GENDEP_OPTS := -s