aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-04-02 21:54:17 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-04-02 21:54:17 +0000
commitcb2e35b58a1bc370f80d54ce107c858bc60ab612 (patch)
treeededdf887aae124ec7ac01ad725130d30d5dcf36 /Makefile
parent3142f6dfd619597d1c0151d724f1ae11c4a878ad (diff)
parent1dc1756946a6e4ae1081c92fef935d07096f23e0 (diff)
downloadtrusted-firmware-a-cb2e35b58a1bc370f80d54ce107c858bc60ab612.tar.gz
Merge changes from topic "macro-cleanup" into integration
* changes: plat: remove redundant =1 from -D option Pass more -D options to BL*_CPPFLAGS instead of BL*_CFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 8d910a4f41..d605ae92b6 100644
--- a/Makefile
+++ b/Makefile
@@ -547,15 +547,15 @@ endif
endif
ifeq (${ARCH},aarch64)
-BL1_CFLAGS += -DIMAGE_AT_EL3
+BL1_CPPFLAGS += -DIMAGE_AT_EL3
ifeq ($(BL2_AT_EL3),1)
-BL2_CFLAGS += -DIMAGE_AT_EL3
+BL2_CPPFLAGS += -DIMAGE_AT_EL3
else
-BL2_CFLAGS += -DIMAGE_AT_EL1
+BL2_CPPFLAGS += -DIMAGE_AT_EL1
endif
-BL2U_CFLAGS += -DIMAGE_AT_EL1
-BL31_CFLAGS += -DIMAGE_AT_EL3
-BL32_CFLAGS += -DIMAGE_AT_EL1
+BL2U_CPPFLAGS += -DIMAGE_AT_EL1
+BL31_CPPFLAGS += -DIMAGE_AT_EL3
+BL32_CPPFLAGS += -DIMAGE_AT_EL1
endif
# Include the CPU specific operations makefile, which provides default