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 ################################################################################