Skip to content

Commit

Permalink
imx-atf-boundary: unexport variables instead of set in compile task
Browse files Browse the repository at this point in the history
To match imx-atf:

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

Freescale/meta-freescale@ad88957

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 <[email protected]>
  • Loading branch information
Chris Dimich committed Nov 7, 2023
1 parent 4271bda commit 3a283ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes-bsp/imx-atf/imx-atf-boundary_2.8.bb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ EXTRA_OEMAKE += " \
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)}"

do_compile() {
Expand Down

0 comments on commit 3a283ae

Please sign in to comment.