speed up package/install
authorFelix Fietkau <nbd@openwrt.org>
Sat, 17 Mar 2007 02:54:16 +0000 (02:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 17 Mar 2007 02:54:16 +0000 (02:54 +0000)
SVN-Revision: 6588

package/Makefile

index bf7090d04d3db4661ec8fb3eecee0d3720dca8ed..799456b1ba43fa97cc7facebbaec11ca4a414ea7 100644 (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