diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2005-06-05 14:42:57 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2005-06-05 14:42:57 +0000 |
| commit | 981d0433773f67b9d233a57e6f6a8acd9e5798d3 (patch) | |
| tree | 0b0107939b9ea5f786dba8529dac1f60cca77ecd /openwrt/target/Makefile | |
| parent | 63dab52461925d107ba9681aa0f9a5292f83e924 (diff) | |
| download | mtk-20170518-981d0433773f67b9d233a57e6f6a8acd9e5798d3.zip mtk-20170518-981d0433773f67b9d233a57e6f6a8acd9e5798d3.tar.gz mtk-20170518-981d0433773f67b9d233a57e6f6a8acd9e5798d3.tar.bz2 | |
add rebuild target for the linux directory
SVN-Revision: 1149
Diffstat (limited to 'openwrt/target/Makefile')
| -rw-r--r-- | openwrt/target/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openwrt/target/Makefile b/openwrt/target/Makefile index 05d0023..88476a7 100644 --- a/openwrt/target/Makefile +++ b/openwrt/target/Makefile @@ -45,7 +45,9 @@ $(foreach fs,$(TARGET_FS),$(eval $(call BIN_template,$(fs)))) INSTALL_TARGET_DIRS:=$(patsubst %,%-install,$(TARGET_DIRS)) $(INSTALL_TARGET_DIRS): image_clean $(TARGET_DIR)/etc/sysconf $(BIN_DIR) -prepare: $(patsubst %,%-prepare,$(TARGET_DIRS)) +prepare: $(patsubst %,%-prepare,$(TARGET_DIRS)) $(TARGET_DIR) + +$(TARGET_DIR): mkdir -p $(TARGET_DIR) if [ -f "$(TARGET_SKELETON)" ] ; then \ zcat $(TARGET_SKELETON) | tar -C $(BUILD_DIR) -xf -; \ @@ -88,6 +90,8 @@ $(TARGET_DIR)/etc/sysconf: $(MAKE) -C $(patsubst %-prepare,%,$@) prepare %-compile: %-prepare $(MAKE) -C $(patsubst %-compile,%,$@) compile +%-rebuild: + $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild %-install: %-compile $(MAKE) -C $(patsubst %-install,%,$@) install |
