All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap3-sgx-modules: Enable is only for relevant machines
@ 2013-11-07  4:52 Khem Raj
  2013-11-07 15:27 ` Cooper Jr., Franklin
  2013-11-07 17:43 ` Denys Dmytriyenko
  0 siblings, 2 replies; 5+ messages in thread
From: Khem Raj @ 2013-11-07  4:52 UTC (permalink / raw)
  To: meta-ti

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
index 31c7d4e..79b73cb 100644
--- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
+++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
@@ -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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] omap3-sgx-modules: Enable is only for relevant machines
  2013-11-07  4:52 [PATCH] omap3-sgx-modules: Enable is only for relevant machines Khem Raj
@ 2013-11-07 15:27 ` Cooper Jr., Franklin
  2013-11-07 16:08   ` Khem Raj
  2013-11-07 17:43 ` Denys Dmytriyenko
  1 sibling, 1 reply; 5+ messages in thread
From: Cooper Jr., Franklin @ 2013-11-07 15:27 UTC (permalink / raw)
  To: Khem Raj, meta-ti@yoctoproject.org

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.


> -----Original Message-----
> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> bounces@yoctoproject.org] On Behalf Of Khem Raj
> Sent: Wednesday, November 06, 2013 10:53 PM
> To: meta-ti@yoctoproject.org
> 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
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> index 31c7d4e..79b73cb 100644
> --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> @@ -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
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] omap3-sgx-modules: Enable is only for relevant machines
  2013-11-07 15:27 ` Cooper Jr., Franklin
@ 2013-11-07 16:08   ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2013-11-07 16:08 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-ti@yoctoproject.org

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

On Thu, Nov 7, 2013 at 7:27 AM, Cooper Jr., Franklin <fcooper@ti.com> wrote:
> 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.
>
>
>> -----Original Message-----
>> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
>> bounces@yoctoproject.org] On Behalf Of Khem Raj
>> Sent: Wednesday, November 06, 2013 10:53 PM
>> To: meta-ti@yoctoproject.org
>> 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
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
>>  1 file changed, 7 insertions(+)
>>
>> diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
>> b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
>> index 31c7d4e..79b73cb 100644
>> --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
>> +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
>> @@ -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
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] omap3-sgx-modules: Enable is only for relevant machines
  2013-11-07  4:52 [PATCH] omap3-sgx-modules: Enable is only for relevant machines Khem Raj
  2013-11-07 15:27 ` Cooper Jr., Franklin
@ 2013-11-07 17:43 ` Denys Dmytriyenko
  2013-11-07 17:52   ` Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2013-11-07 17:43 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-ti

On Wed, Nov 06, 2013 at 08:52:48PM -0800, Khem Raj wrote:
> 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...


> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> index 31c7d4e..79b73cb 100644
> --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> @@ -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
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] omap3-sgx-modules: Enable is only for relevant machines
  2013-11-07 17:43 ` Denys Dmytriyenko
@ 2013-11-07 17:52   ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2013-11-07 17:52 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti


On Nov 7, 2013, at 9:43 AM, Denys Dmytriyenko <denys@ti.com> wrote:

> On Wed, Nov 06, 2013 at 08:52:48PM -0800, Khem Raj wrote:
>> 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


> 
> 
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb | 7 +++++++
>> 1 file changed, 7 insertions(+)
>> 
>> diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
>> index 31c7d4e..79b73cb 100644
>> --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
>> +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
>> @@ -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
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-07 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07  4:52 [PATCH] omap3-sgx-modules: Enable is only for relevant machines Khem Raj
2013-11-07 15:27 ` Cooper Jr., Franklin
2013-11-07 16:08   ` Khem Raj
2013-11-07 17:43 ` Denys Dmytriyenko
2013-11-07 17:52   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.