aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-06-05 14:45:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-06-05 14:45:48 +0000
commitc4591062a807a9b4108e8fc143a0781bac54ab2f (patch)
treee185fbc9dcf81e82505637edb35eea56ec6c64aa /package/Makefile
parentd703a241d3e23944af9d50a9abcbe635f443ceb2 (diff)
downloadupstream-c4591062a807a9b4108e8fc143a0781bac54ab2f.tar.gz
upstream-c4591062a807a9b4108e8fc143a0781bac54ab2f.tar.bz2
upstream-c4591062a807a9b4108e8fc143a0781bac54ab2f.zip
add %-rebuild target for package/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile
index 38958381dd..8d7dd75793 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -216,6 +216,10 @@ sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE) openwrt-install
@[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
@touch $(STAMP_DIR)/.$@
+%-rebuild:
+ @rm -f $(STAMP_DIR)/.$(patsubst %-rebuild,%,$@)-*
+ $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
+
%-clean:
@$(MAKE) -C $(patsubst %-clean,%,$@) clean
@rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*