From e03dcc8f5ee2c2c48732745c5c364951eb36ceec Mon Sep 17 00:00:00 2001 From: Nishant Sharma Date: Mon, 15 Aug 2022 16:37:07 +0100 Subject: [PATCH] feat(build): include plat header in fdt build Include platform headers in DT build to enable build time configuration of number of execution context supported by the platform. Signed-off-by: Nishant Sharma Change-Id: I5b9ffc9865f198a1f802fcb5e0950a5fabb48727 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f55dfdd11..817b16af2 100644 --- a/Makefile +++ b/Makefile @@ -399,10 +399,6 @@ else endif #(LD = armlink) -DTC_FLAGS += -I dts -O dtb -DTC_CPPFLAGS += -P -nostdinc -Iinclude -Ifdts -undef \ - -x assembler-with-cpp $(DEFINES) - ################################################################################ # Setup ARCH_MAJOR/MINOR before parsing arch_features. ################################################################################ @@ -444,6 +440,10 @@ INCLUDES += -Iinclude \ ${PLAT_INCLUDES} \ ${SPD_INCLUDES} +DTC_FLAGS += -I dts -O dtb +DTC_CPPFLAGS += -P -nostdinc $(INCLUDES) -Ifdts -undef \ + -x assembler-with-cpp $(DEFINES) + include common/backtrace/backtrace.mk ################################################################################