diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-08-25 09:08:17 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2022-08-25 09:08:17 -0300 |
commit | dd98526300937450d741c9b3403799632f417226 (patch) | |
tree | 1c40195535ad43927b22c5275986171734aad517 /recipes-bsp/imx-atf | |
parent | e33f8583f809c50e0cf8b936c8cdf1cb9e8c2152 (diff) | |
download | meta-freescale-dd98526300937450d741c9b3403799632f417226.tar.gz |
Revert "imx-atf: fix build error with binutils 2.39"
This reverts commit b1d1d4013f598e74ca15d779f1863457962112a9.
Diffstat (limited to 'recipes-bsp/imx-atf')
-rw-r--r-- | recipes-bsp/imx-atf/imx-atf_2.6.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb index 1df61cab..b0426f0b 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.6.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb | |||
@@ -29,9 +29,7 @@ EXTRA_OEMAKE += " \ | |||
29 | 29 | ||
30 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application | 30 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application |
31 | CFLAGS[unexport] = "1" | 31 | CFLAGS[unexport] = "1" |
32 | # Needed for binutils >= 2.39 to prevent build failure. | 32 | LDFLAGS[unexport] = "1" |
33 | # imx-atf links with ld, thus no '-Wl,' prefix | ||
34 | LDFLAGS = "--no-warn-rwx-segments" | ||
35 | AS[unexport] = "1" | 33 | AS[unexport] = "1" |
36 | LD[unexport] = "1" | 34 | LD[unexport] = "1" |
37 | 35 | ||
@@ -58,6 +56,7 @@ EXTRA_OEMAKE += 'IMX_BOOT_UART_BASE=${ATF_BOOT_UART_BASE}' | |||
58 | do_configure[noexec] = "1" | 56 | do_configure[noexec] = "1" |
59 | 57 | ||
60 | do_compile() { | 58 | do_compile() { |
59 | # Clear LDFLAGS to avoid the option -Wl recognize issue | ||
61 | oe_runmake bl31 | 60 | oe_runmake bl31 |
62 | if ${BUILD_OPTEE}; then | 61 | if ${BUILD_OPTEE}; then |
63 | oe_runmake clean BUILD_BASE=build-optee | 62 | oe_runmake clean BUILD_BASE=build-optee |