imx-atf-boundary: unexport variables instead of set in compile task

To match imx-atf:

https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/imx-atf/imx-atf_2.8.bb#L29-L33

ad889575ae

also fixes error:

bl31.elf section `coherent_ram' will not fit in region `RAM'
aarch64-poky-linux-ld.bfd: BL31 image has exceeded its limit.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
This commit is contained in:
Chris Dimich 2023-11-07 14:00:47 -08:00
parent 4271bda58b
commit 3a283aee91

View File

@ -31,6 +31,12 @@ EXTRA_OEMAKE += " \
PLAT=${ATF_PLATFORM} \ PLAT=${ATF_PLATFORM} \
" "
# Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
do_compile() { do_compile() {