summaryrefslogtreecommitdiffstats
path: root/openwrt/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 14:45:48 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 14:45:48 +0000
commita267d2e1ed780da4417eb8f6c158ab4bfb47dfe0 (patch)
treec487d546681dbabe3d4fde1f55778add9dd462b8 /openwrt/package
parent68544750068688aa48505135c23f01e055e7f6a2 (diff)
add %-rebuild target for package/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 38958381d..8d7dd7579 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/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,%,$@)-*