summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2018-02-27 15:30:40 +0000
committerGitHub <noreply@github.com>2018-02-27 15:30:40 +0000
commit322a98b6322f1b566a5c4ec65fe481dc204b3eb0 (patch)
treef9eda1bafa314dc4421bf946ccdcdec946d4813e
parentc7aa7fdf56b4a41172f0ad5998262352d104b6d7 (diff)
parent09cc7a6df90d899cfbb82e83bb073a35867e663c (diff)
Merge pull request #1285 from soby-mathew/sm/fix_win_build_dyn_cfg
FVP: restrict dynamic config to Unix build environment
-rw-r--r--plat/arm/board/fvp/platform.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk
index 41642423..6857c1f8 100644
--- a/plat/arm/board/fvp/platform.mk
+++ b/plat/arm/board/fvp/platform.mk
@@ -159,7 +159,8 @@ BL31_SOURCES += drivers/arm/smmu/smmu_v3.c \
${FVP_INTERCONNECT_SOURCES} \
${FVP_SECURITY_SOURCES}
-# Add the FDT_SOURCES and options for Dynamic Config
+# Add the FDT_SOURCES and options for Dynamic Config (only for Unix env)
+ifdef UNIX_MK
FVP_HW_CONFIG_DTS := fdts/${FVP_DT_PREFIX}.dts
FDT_SOURCES += plat/arm/board/fvp/fdts/${PLAT}_tb_fw_config.dts
FVP_TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_tb_fw_config.dtb
@@ -172,6 +173,7 @@ $(eval FVP_HW_CONFIG := ${BUILD_PLAT}/$(patsubst %.dts,%.dtb,$(FVP_HW_CONFIG_DTS
# Add the HW_CONFIG to FIP and specify the same to certtool
$(eval $(call TOOL_ADD_PAYLOAD,${FVP_HW_CONFIG},--hw-config))
+endif
# Disable the PSCI platform compatibility layer
ENABLE_PLAT_COMPAT := 0