diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-17 02:54:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-17 02:54:16 +0000 |
commit | b2a976649f2ef921790a0e84cd1483cf6f2fac99 (patch) | |
tree | 38d3d1c99a1dcc527049c92fe80a1666ab602c35 /package/Makefile | |
parent | 04ae63915e9f767750d01af76b7e1c022a400bb1 (diff) | |
download | mtk-20170518-b2a976649f2ef921790a0e84cd1483cf6f2fac99.zip mtk-20170518-b2a976649f2ef921790a0e84cd1483cf6f2fac99.tar.gz mtk-20170518-b2a976649f2ef921790a0e84cd1483cf6f2fac99.tar.bz2 |
speed up package/install
SVN-Revision: 6588
Diffstat (limited to 'package/Makefile')
-rw-r--r-- | package/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile index bf7090d..799456b 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 |