diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-02-19 13:00:30 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-02-19 13:00:30 +0000 |
commit | aad0c0841c56f866c73aa819d2af7b5596604fd9 (patch) | |
tree | 5ff9396a098d631bae3a7d7c70bd4d9fa294a8af /openwrt/target/Makefile.in | |
parent | 2572b0e67f54ccc9b50a9751ce80deb491344fd5 (diff) | |
download | mtk-20170518-aad0c0841c56f866c73aa819d2af7b5596604fd9.zip mtk-20170518-aad0c0841c56f866c73aa819d2af7b5596604fd9.tar.gz mtk-20170518-aad0c0841c56f866c73aa819d2af7b5596604fd9.tar.bz2 |
demistifying make *clean targets, fix some clean targets issues
SVN-Revision: 272
Diffstat (limited to 'openwrt/target/Makefile.in')
-rw-r--r-- | openwrt/target/Makefile.in | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/openwrt/target/Makefile.in b/openwrt/target/Makefile.in index 2d23d83..40c9a05 100644 --- a/openwrt/target/Makefile.in +++ b/openwrt/target/Makefile.in @@ -1,17 +1,20 @@ # Default target skeleton stuff, may be overridden +DIST=openwrt TARGET_SKELETON=target/default/skel.tar.gz TARGET_SKEL_DIR=target/default/target_skeleton include target/device/Makefile.in -openwrt-linux.trx: openwrt-trx - PATH=$(TARGET_PATH) trx -o openwrt-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS) +$(DIST)-linux.trx: openwrt-trx + PATH=$(TARGET_PATH) trx -o $(DIST)-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS) -openwrt-gs-code.bin: openwrt-addpattern openwrt-linux.trx - PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux.trx -o openwrt-gs-code.bin -g +$(DIST)-gs-code.bin: openwrt-addpattern $(DIST)-linux.trx + PATH=$(TARGET_PATH) addpattern -2 -i $(DIST)-linux.trx -o $(DIST)-gs-code.bin -g -openwrt-g-code.bin: openwrt-gs-code.bin - sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin > openwrt-g-code.bin +$(DIST)-g-code.bin: $(DIST)-gs-code.bin + sed -e "1s,^W54S,W54G," < $(DIST)-gs-code.bin > $(DIST)-g-code.bin -openwrt-image: openwrt openwrt-g-code.bin +openwrt-image: openwrt $(DIST)-g-code.bin +$(DIST)-image-clean: + @-rm $(DIST)-* 2>/dev/null |