mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 16:36:16 +02:00
add %-rebuild target for package/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1150 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6854475006
commit
a267d2e1ed
@ -216,6 +216,10 @@ sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE) openwrt-install
|
|||||||
@[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
|
@[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
|
||||||
@touch $(STAMP_DIR)/.$@
|
@touch $(STAMP_DIR)/.$@
|
||||||
|
|
||||||
|
%-rebuild:
|
||||||
|
@rm -f $(STAMP_DIR)/.$(patsubst %-rebuild,%,$@)-*
|
||||||
|
$(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
|
||||||
|
|
||||||
%-clean:
|
%-clean:
|
||||||
@$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
@$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
||||||
@rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
|
@rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
|
||||||
|
Loading…
Reference in New Issue
Block a user