diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-17 02:54:16 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-17 02:54:16 +0000 |
commit | 91c71dd9accc12d164a95814276f2f05f1b28a5a (patch) | |
tree | 182e66a14617855304bf1203e54894b4fc6ea480 /package | |
parent | e90cdd3990f76ee8561d98e49ef2719fa5311489 (diff) |
speed up package/install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6588 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile index bf7090d04d..799456b1ba 100644 --- a/package/Makefile +++ b/package/Makefile @@ -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 |