diff options
Diffstat (limited to 'recipes-bsp/imx-atf/imx-atf_2.6.bb')
| -rw-r--r-- | recipes-bsp/imx-atf/imx-atf_2.6.bb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb index 1df61cab8..3f627150b 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.6.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb | |||
| @@ -7,8 +7,11 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m | |||
| 7 | 7 | ||
| 8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ | 10 | SRC_URI = " \ |
| 11 | file://0001-Makefile-Suppress-array-bounds-error.patch" | 11 | git://source.codeaurora.org/external/imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ |
| 12 | file://0001-Makefile-Suppress-array-bounds-error.patch \ | ||
| 13 | file://rwx-segments.patch \ | ||
| 14 | " | ||
| 12 | SRCBRANCH = "lf_v2.6" | 15 | SRCBRANCH = "lf_v2.6" |
| 13 | SRCREV = "c6a19b1a351308cc73443283f6aa56b2eff791b8" | 16 | SRCREV = "c6a19b1a351308cc73443283f6aa56b2eff791b8" |
| 14 | 17 | ||
| @@ -29,9 +32,7 @@ EXTRA_OEMAKE += " \ | |||
| 29 | 32 | ||
| 30 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application | 33 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application |
| 31 | CFLAGS[unexport] = "1" | 34 | CFLAGS[unexport] = "1" |
| 32 | # Needed for binutils >= 2.39 to prevent build failure. | 35 | LDFLAGS[unexport] = "1" |
| 33 | # imx-atf links with ld, thus no '-Wl,' prefix | ||
| 34 | LDFLAGS = "--no-warn-rwx-segments" | ||
| 35 | AS[unexport] = "1" | 36 | AS[unexport] = "1" |
| 36 | LD[unexport] = "1" | 37 | LD[unexport] = "1" |
| 37 | 38 | ||
| @@ -58,6 +59,7 @@ EXTRA_OEMAKE += 'IMX_BOOT_UART_BASE=${ATF_BOOT_UART_BASE}' | |||
| 58 | do_configure[noexec] = "1" | 59 | do_configure[noexec] = "1" |
| 59 | 60 | ||
| 60 | do_compile() { | 61 | do_compile() { |
| 62 | # Clear LDFLAGS to avoid the option -Wl recognize issue | ||
| 61 | oe_runmake bl31 | 63 | oe_runmake bl31 |
| 62 | if ${BUILD_OPTEE}; then | 64 | if ${BUILD_OPTEE}; then |
| 63 | oe_runmake clean BUILD_BASE=build-optee | 65 | oe_runmake clean BUILD_BASE=build-optee |
