add %-rebuild target for package/
authorFelix Fietkau <nbd@openwrt.org>
Sun, 5 Jun 2005 14:45:48 +0000 (14:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 5 Jun 2005 14:45:48 +0000 (14:45 +0000)
SVN-Revision: 1150

openwrt/package/Makefile

index 38958381dde0988b2fbcb0dbf1bb2a753ee4091a..8d7dd75793d14b4468820bd7572db9aabf4adf40 100644 (file)
@@ -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,%,$@)-*