From: Felix Fietkau Date: Sun, 5 Jun 2005 14:45:48 +0000 (+0000) Subject: add %-rebuild target for package/ X-Git-Tag: reboot~32574 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=de56a161ac1d9496c5efc9ef8539f5dded05c89c;p=openwrt%2Fopenwrt.git add %-rebuild target for package/ SVN-Revision: 1150 --- diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index 38958381dd..8d7dd75793 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,%,$@)-*