diff options
author | Mark Dykes <mardyk01@review.trustedfirmware.org> | 2020-03-31 19:55:06 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2020-03-31 19:55:06 +0000 |
commit | 426d5f9c9efb21e1a3504297c8b397500f254fb7 (patch) | |
tree | d784ead44ad588bed9f874bd49cc0709da495c6e | |
parent | dc341a1a888918b897618d6a03ae96f7a87c19a4 (diff) | |
parent | d5e97a1d2c79121a68ed1c68bd079e80a5f4540a (diff) | |
download | trusted-firmware-a-426d5f9c9efb21e1a3504297c8b397500f254fb7.tar.gz |
Merge "Build: define IMAGE_AT_EL1 or IMAGE_AT_EL3 globally for C files" into integration
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -508,6 +508,18 @@ ifeq ($(ARCH),aarch64) endif endif +ifeq (${ARCH},aarch64) +BL1_CFLAGS += -DIMAGE_AT_EL3 +ifeq ($(BL2_AT_EL3),1) +BL2_CFLAGS += -DIMAGE_AT_EL3 +else +BL2_CFLAGS += -DIMAGE_AT_EL1 +endif +BL2U_CFLAGS += -DIMAGE_AT_EL1 +BL31_CFLAGS += -DIMAGE_AT_EL3 +BL32_CFLAGS += -DIMAGE_AT_EL1 +endif + # Include the CPU specific operations makefile, which provides default # values for all CPU errata workarounds and CPU specific optimisations. # This can be overridden by the platform. |