summaryrefslogtreecommitdiff
path: root/include/target.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-10 21:52:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-10 21:52:28 +0000
commit7a6a6464971c69fa1026aeaf8fad5c79250230e9 (patch)
treea68bcf07bd0d15b68d1b990877a55002585690b9 /include/target.mk
parent927fb16abb41cfeeee4e97b4baed2d5ce036ca2e (diff)
downloadmtk-20170518-7a6a6464971c69fa1026aeaf8fad5c79250230e9.zip
mtk-20170518-7a6a6464971c69fa1026aeaf8fad5c79250230e9.tar.gz
mtk-20170518-7a6a6464971c69fa1026aeaf8fad5c79250230e9.tar.bz2
Add initial version of the new Image Builder It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.
SVN-Revision: 6071
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index 042e85d..17a41f7 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -7,6 +7,11 @@
include $(TMP_DIR)/.target.mk
+ifeq ($(IB),1)
+$(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
+ $(CP) $< $@
+else
$(TMP_DIR)/.target.mk: $(TMP_DIR)/.targetinfo
$(SCRIPT_DIR)/gen_target_mk.pl < $(TMP_DIR)/.targetinfo > $@
+endif