mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-07-19 18:39:09 +02:00
imx-atf: Align with upstream
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
6ebfa7f58d
commit
53ea84b39d
|
@ -23,7 +23,7 @@ ATF_PLATFORM ??= "INVALID"
|
|||
ATF_BOOT_UART_BASE ?= ""
|
||||
|
||||
EXTRA_OEMAKE += " \
|
||||
CROSS_COMPILE="${TARGET_PREFIX}" \
|
||||
CROSS_COMPILE=${TARGET_PREFIX} \
|
||||
PLAT=${ATF_PLATFORM} \
|
||||
"
|
||||
|
||||
|
@ -49,7 +49,9 @@ def remove_options_tail (in_string):
|
|||
from itertools import takewhile
|
||||
return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' ')))
|
||||
|
||||
EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}"'
|
||||
# LD can have linker suffix in its name e.g. aarch64-yoe-linux-ld.lld so we need to
|
||||
# drop .lld as well along with options from LD
|
||||
EXTRA_OEMAKE += 'LD="${HOST_PREFIX}ld.bfd"'
|
||||
|
||||
EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user