[meta-ti] Denys Dmytriyenko : boot-monitor: pass custom LD var that includes sysroot option

Arago Project git git at arago-project.org
Wed May 13 14:44:19 PDT 2015


Module: meta-ti
Branch: daisy
Commit: 12d1b6f5361a1c3ecbe51431c03f94ab832cd0c3
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=12d1b6f5361a1c3ecbe51431c03f94ab832cd0c3

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Thu May 14 03:21:59 2015 +0000

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 at ti.com>

---

 recipes-bsp/boot-monitor/boot-monitor_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb
index 8273ce8..72dc924 100644
--- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
+++ b/recipes-bsp/boot-monitor/boot-monitor_git.bb
@@ -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



More information about the meta-ti mailing list