Skip to contentSkip to conversation

uim: Fix build breaks when toolchain is used from sstate

PATCH In review Khem Raj 2 participants 2 messages Oct 25, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 uim: Fix build breaks when toolchain is used from sstate

CC is being redefined here but its not considering
the essential options to specify the sysroot as a result this breaks on systems tied to sstate servers where the toolchain might have had a different sysroot when built, in here it fails to find the standard headers due to missing sysroot options.

Deleting the extra oeconf works fine.

---
 recipes-connectivity/uim/uim_8.5.bb | 2 --
 1 file changed, 2 deletions(-)
recipes-connectivity/uim/uim_8.5.bb +0 -2
index ac9dc51..72e2166 100644
@@ -12,8 +12,6 @@ SRC_URI = "git://git.ti.com/ti-bt/uim.git"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc"
-
 do_install() {
 	install -d ${D}${bindir}
 	install -m 0755 uim ${D}${bindir}
Signature · 1 line
2.10.1
#1 lore raw

Thanks.

Quoted 35 lines · Khem Raj

CC is being redefined here but its not considering
the essential options to specify the sysroot as a result this breaks on systems tied to sstate servers where the toolchain might have had a different sysroot when built, in here it fails to find the standard headers due to missing sysroot options.

Deleting the extra oeconf works fine.

---
 recipes-connectivity/uim/uim_8.5.bb | 2 --
 1 file changed, 2 deletions(-)
recipes-connectivity/uim/uim_8.5.bb +0 -2
index ac9dc51..72e2166 100644
@@ -12,8 +12,6 @@ SRC_URI = "git://git.ti.com/ti-bt/uim.git"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc"
-
 do_install() {
 	install -d ${D}${bindir}
 	install -m 0755 uim ${D}${bindir}
Signature · 7 lines
2.10.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti