aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBalint Dobszay <balint.dobszay@arm.com>2020-01-10 17:16:27 +0100
committerBalint Dobszay <balint.dobszay@arm.com>2020-01-14 10:30:38 +0100
commit2d51b55ee5d2a30b4e9140d8f9b6ccc541301db5 (patch)
tree315022576d9ad07a49f0157d85591bca43eb14b8 /Makefile
parentdadd8060f104eb254a26226a7bdf238aef225eb3 (diff)
downloadplatform_external_arm-trusted-firmware-2d51b55ee5d2a30b4e9140d8f9b6ccc541301db5.tar.gz
platform_external_arm-trusted-firmware-2d51b55ee5d2a30b4e9140d8f9b6ccc541301db5.tar.bz2
platform_external_arm-trusted-firmware-2d51b55ee5d2a30b4e9140d8f9b6ccc541301db5.zip
Replace dts includes with C preprocessor syntax
Using the /include/ syntax, the include was evaluated by dtc, only after running the preprocessor, therefore the .dtsi files were not preprocessed. This patch adds the #include syntax instead. Evaluating this and preprocessing the files now happens in a single step, done by the C preprocessor. Change-Id: I6d0104b6274316fc736e84973502a4d6c2c9d6e0 Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 42fdb7326..a25845ee9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -344,7 +344,7 @@ TF_LDFLAGS += $(TF_LDFLAGS_$(ARCH))
endif
DTC_FLAGS += -I dts -O dtb
-DTC_CPPFLAGS += -nostdinc -Iinclude -undef -x assembler-with-cpp
+DTC_CPPFLAGS += -P -nostdinc -Iinclude -Ifdts -undef -x assembler-with-cpp
################################################################################
# Common sources and include directories