Skip to contentSkip to conversation

omap3-sgx-modules: Enable is only for relevant machines

PATCH In review Khem Raj 3 participants 5 messages Nov 7, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 omap3-sgx-modules: Enable is only for relevant machines

When layers is parsed in multi-bsp layer distros and a non-omap/non-arm machine is used this causes parse failures

---
 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb +7 -0
index 31c7d4e..79b73cb 100644
@@ -10,6 +10,13 @@ BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
 
 inherit module
 
+COMPATIBLE_HOST_omap3 = ".*"
+COMPATIBLE_HOST_omap4 = ".*"
+COMPATIBLE_HOST_ti814x = ".*"
+COMPATIBLE_HOST_ti816x = ".*"
+COMPATIBLE_HOST_ti33x = ".*"
+COMPATIBLE_HOST ?= "(none)"
+
 MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
Signature · 1 line
1.8.3.2
#1 lore raw

Should we mimic these changes to the other versions of this recipe? Although, DEFAULT_PREFERENCE is set to -1 for all the other recipes it will make sure we avoid this issue again in the future.

Quoted 42 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Khem Raj
Sent: Wednesday, November 06, 2013 10:53 PM
To: [email protected]
Subject: [meta-ti] [PATCH] omap3-sgx-modules: Enable is only for relevant machines

When layers is parsed in multi-bsp layer distros and a non-omap/non-arm machine is used this causes parse failures

---
 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb +7 -1
index 31c7d4e..79b73cb 100644
@@ -10,6 +10,13 @@ BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
 
 inherit module
 
+COMPATIBLE_HOST_omap3 = ".*"
+COMPATIBLE_HOST_omap4 = ".*"
+COMPATIBLE_HOST_ti814x = ".*"
+COMPATIBLE_HOST_ti816x = ".*"
+COMPATIBLE_HOST_ti33x = ".*"
+COMPATIBLE_HOST ?= "(none)"
+
 MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
--

1.8.3.2

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

author
#2 lore raw

yes. whatever recipe is specific to machines/socs they should use this kind of things

Quoted 45 lines · Franklin

Should we mimic these changes to the other versions of this recipe? Although, DEFAULT_PREFERENCE is set to -1 for all the other recipes it will make sure we avoid this issue again in the future.

Quoted 42 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Khem Raj
Sent: Wednesday, November 06, 2013 10:53 PM
To: [email protected]
Subject: [meta-ti] [PATCH] omap3-sgx-modules: Enable is only for relevant machines

When layers is parsed in multi-bsp layer distros and a non-omap/non-arm machine is used this causes parse failures

---
 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb +7 -1
index 31c7d4e..79b73cb 100644
@@ -10,6 +10,13 @@ BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
 
 inherit module
 
+COMPATIBLE_HOST_omap3 = ".*"
+COMPATIBLE_HOST_omap4 = ".*"
+COMPATIBLE_HOST_ti814x = ".*"
+COMPATIBLE_HOST_ti816x = ".*"
+COMPATIBLE_HOST_ti33x = ".*"
+COMPATIBLE_HOST ?= "(none)"
+
 MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
--

1.8.3.2

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

#3 lore raw
In reply to Khem Raj
Quoted 3 lines · Khem Raj

When layers is parsed in multi-bsp layer distros and a non-omap/non-arm machine is used this causes parse failures

Can you be more specific with the parse errors? I don't want a real issue (if any) to be simply masked away...

Quoted 30 lines
---
 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb +7 -0
index 31c7d4e..79b73cb 100644
@@ -10,6 +10,13 @@ BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
 
 inherit module
 
+COMPATIBLE_HOST_omap3 = ".*"
+COMPATIBLE_HOST_omap4 = ".*"
+COMPATIBLE_HOST_ti814x = ".*"
+COMPATIBLE_HOST_ti816x = ".*"
+COMPATIBLE_HOST_ti33x = ".*"
+COMPATIBLE_HOST ?= "(none)"
+
 MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
Signature · 6 lines
1.8.3.2

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#4 lore raw
Quoted 7 lines · Denys Dmytriyenko
Quoted 3 lines · Khem Raj

When layers is parsed in multi-bsp layer distros and a non-omap/non-arm machine is used this causes parse failures

Can you be more specific with the parse errors? I don't want a real issue (if any) to be simply masked away…

my logs for parse fails are now overwritten but another case where this fails for me is this MACHINE=qemuppc bitbake -k world when meta-ti is included in your distro. It will fail to build

Quoted 32 lines
Quoted 32 lines

---
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++

1 file changed, 7 insertions(+)
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb +0 -0
index 31c7d4e..79b73cb 100644
@@ -10,6 +10,13 @@ BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
 

inherit module

recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb +7 -0
+COMPATIBLE_HOST_omap3 = ".*"
+COMPATIBLE_HOST_omap4 = ".*"
+COMPATIBLE_HOST_ti814x = ".*"
+COMPATIBLE_HOST_ti816x = ".*"
+COMPATIBLE_HOST_ti33x = ".*"
+COMPATIBLE_HOST ?= "(none)"
+

MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"

Signature · 6 lines
1.8.3.2

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