From: nbd Date: Sun, 5 Jun 2005 14:45:48 +0000 (+0000) Subject: add %-rebuild target for package/ X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/7d93f622e8f541e03edca4b4a2aff7578e131fcc add %-rebuild target for package/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1150 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/Makefile b/package/Makefile index 38958381d..8d7dd7579 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,%,$@)-*