diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2022-08-30 16:31:41 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-08-30 16:50:02 +0200 |
commit | 8421997dbbacc487ddf192af6fac0004ebd4c44d (patch) | |
tree | f0adb72ddabf27af21aab4ffe09e6d8842a0b6c4 /recipes-bsp/imx-atf | |
parent | f6a57335f3ca920e7823c25c2dafe5c7ff154f15 (diff) | |
download | meta-freescale-8421997dbbacc487ddf192af6fac0004ebd4c44d.tar.gz |
Revert "imx-atf: fix build error with binutils 2.39"
This reverts commit bac8c6af8471addb7add0d1b1ddfbbbd36bed16e.
Revert this in favour of a binutils version agnostic patch.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
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 |