Skip to contentSkip to conversation

amx3-cm3: Use COMPATIBLE_MACHINE instead of COMPATIBLE_HOST

PATCH In review Khem Raj 2 participants 4 messages Jul 13, 2019 – Jul 17, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 amx3-cm3: Use COMPATIBLE_MACHINE instead of COMPATIBLE_HOST

This represents it correctly in package arch as well

---
 recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb +2 -2
index b9a3b0fa..79166ca9 100644
@@ -24,5 +24,5 @@ do_install() {
 }
 
 FILES_${PN} += "${base_libdir}/firmware"
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+
+COMPATIBLE_MACHINE = "(ti-soc)"
Signature · 1 line
2.22.0
author
#1 lore raw

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

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

---
 recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 2 ++
 recipes-bsp/u-boot/u-boot-ti.inc            | 3 +++
 2 files changed, 5 insertions(+)
recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb +2 -0
index 79166ca9..196b11b9 100644
@@ -26,3 +26,5 @@ do_install() {
 FILES_${PN} += "${base_libdir}/firmware"
 
 COMPATIBLE_MACHINE = "(ti-soc)"
+TOOLCHAIN = "gcc"
+
recipes-bsp/u-boot/u-boot-ti.inc +3 -0
index b66a7a6f..36746826 100644
@@ -370,3 +370,6 @@ do_deploy_append_keystone () {
 		fi
 	fi
 }
+
+TOOLCHAIN = "gcc"
+
Signature · 1 line
2.22.0
#2 lore raw

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

Quoted 25 lines · Khem Raj

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

---
 recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 2 ++
 recipes-bsp/u-boot/u-boot-ti.inc            | 3 +++
 2 files changed, 5 insertions(+)
recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb +2 -0
index 79166ca9..196b11b9 100644
@@ -26,3 +26,5 @@ do_install() {
 FILES_${PN} += "${base_libdir}/firmware"
 
 COMPATIBLE_MACHINE = "(ti-soc)"
+TOOLCHAIN = "gcc"
+
recipes-bsp/u-boot/u-boot-ti.inc +0 -0
index b66a7a6f..36746826 100644

recipes-bsp/u-boot/u-boot-ti.inc do_deploy_append_keystone () { · line 375

Quoted 6 lines
recipes-bsp/u-boot/u-boot-ti.inc +3 -0
@@ -370,3 +370,6 @@ do_deploy_append_keystone () {
 		fi
 	fi
 }
+
+TOOLCHAIN = "gcc"
+

Applying: amx3-cm3,u-boot-ti: Pin to gcc compiler .git/rebase-apply/patch:15: new blank line at EOF. +
.git/rebase-apply/patch:26: new blank line at EOF. +
warning: 2 lines add whitespace errors.

Quoted 8 lines
Signature · 7 lines
2.22.0

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#3 lore raw

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

Quoted 32 lines · Denys Dmytriyenko
Quoted 30 lines · Khem Raj

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

---
 recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 2 ++
 recipes-bsp/u-boot/u-boot-ti.inc            | 3 +++
 2 files changed, 5 insertions(+)
recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb +2 -0
index 79166ca9..196b11b9 100644
@@ -26,3 +26,5 @@ do_install() {
 FILES_${PN} += "${base_libdir}/firmware"
 
 COMPATIBLE_MACHINE = "(ti-soc)"
+TOOLCHAIN = "gcc"
+
recipes-bsp/u-boot/u-boot-ti.inc +2 -0
index b66a7a6f..36746826 100644
@@ -370,3 +370,6 @@ do_deploy_append_keystone () {
              fi
      fi
 }
+
+TOOLCHAIN = "gcc"
Quoted 8 lines

recipes-bsp/u-boot/u-boot-ti.inc do_deploy_append_keystone () { · line 375

Quoted 1 line
recipes-bsp/u-boot/u-boot-ti.inc +1 -0
+

Applying: amx3-cm3,u-boot-ti: Pin to gcc compiler .git/rebase-apply/patch:15: new blank line at EOF. +
.git/rebase-apply/patch:26: new blank line at EOF. +
warning: 2 lines add whitespace errors.

usually git can squelch those