[meta-ti] [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler

Khem Raj raj.khem at gmail.com
Fri Jul 12 17:59:55 PDT 2019


Using clang as default compiler fails to build these
since these packages explicitly asks for gcc as compiler
this ensures that we meet that demand

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 2 ++
 recipes-bsp/u-boot/u-boot-ti.inc            | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
index 79166ca9..196b11b9 100644
--- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
+++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
@@ -26,3 +26,5 @@ do_install() {
 FILES_${PN} += "${base_libdir}/firmware"
 
 COMPATIBLE_MACHINE = "(ti-soc)"
+TOOLCHAIN = "gcc"
+
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index b66a7a6f..36746826 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/recipes-bsp/u-boot/u-boot-ti.inc
@@ -370,3 +370,6 @@ do_deploy_append_keystone () {
 		fi
 	fi
 }
+
+TOOLCHAIN = "gcc"
+
-- 
2.22.0



More information about the meta-ti mailing list