mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-04 18:00:36 +00:00
boot-monitor: pass custom LD var that includes sysroot option
Otherwise it fails to link against static libgcc with OE toolchain. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -7,7 +7,7 @@ COMPATIBLE_MACHINE = "keystone"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
PV = "2.0"
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
PR = "r2+gitr${SRCPV}"
|
||||
|
||||
BRANCH = "master"
|
||||
|
||||
@@ -21,7 +21,7 @@ BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
|
||||
|
||||
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
|
||||
|
||||
do_compile () {
|
||||
unset LDFLAGS
|
||||
|
||||
Reference in New Issue
Block a user