add %-rebuild target for package/
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 14:45:48 +0000 (14:45 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 14:45:48 +0000 (14:45 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1150 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/Makefile

index 3895838..8d7dd75 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,%,$@)-*
This page took 0.021656 seconds and 4 git commands to generate.