mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
Merge "Build: define IMAGE_AT_EL1 or IMAGE_AT_EL3 globally for C files" into integration
This commit is contained in:
commit
426d5f9c9e
1 changed files with 12 additions and 0 deletions
12
Makefile
12
Makefile
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue