Add initial version of the new Image Builder It's still a bit rough in a few places...
[openwrt/openwrt.git] / include / target.mk
index 042e85d326781967f509d6809fe2489993cd7a5c..17a41f7c492817b739f8f8c6dc40a51069bb8f7f 100644 (file)
@@ -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