Buildfix for MCUs

The MCU-targets depend on some platform-related resources.
When these files are missing the build cannot be performed.

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
Zsolt Borbély 2016-04-01 10:53:05 +02:00
parent c98cb65373
commit 7b10f912a9

View File

@ -229,7 +229,7 @@ $(BUILD_DIR)/$(NATIVE_SYSTEM)/unittests/toolchain.config:
# $(1) - mcu system name
define GEN_MCU_TOOLCHAIN_CONFIG_RULE
.PHONY: $$(BUILD_DIR)/$(1)/toolchain.config
$$(BUILD_DIR)/$(1)/toolchain.config:
$$(BUILD_DIR)/$(1)/toolchain.config: prerequisites
$$(Q) TOOLCHAIN="build/configs/toolchain_mcu_$(1).cmake"; \
$$(call WRITE_TOOLCHAIN_CONFIG,$$(BUILD_DIR)/$(1))
endef