Skip to contentSkip to conversation

machines: Dont lock linux-libc-headers-nativesdk preferred provider

PATCH In review Khem Raj 3 participants 19 messages Jul 6, 2012 – Aug 21, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 machines: Dont lock linux-libc-headers-nativesdk preferred provider

linux-libc-headers-nativesdk is for native bits in an SDK its not required to be locked in machine conf files since nothing depends on machine per se here. If its a mattetr of policy then this should be added to distro conf which in this layer is fsl.conf

---
 conf/machine/e500mc.inc    |    1 -
 conf/machine/e500v2.inc    |    1 -
 conf/machine/e5500-64b.inc |    1 -
 conf/machine/e5500.inc     |    1 -
 4 files changed, 4 deletions(-)
conf/machine/e500mc.inc +0 -1
index bfac9e6..479c513 100644
@@ -8,7 +8,6 @@ MACHINE_FEATURES_RRECOMMENDS = ""
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk"
 PREFERRED_VERSION_virtual/kernel ?= "3.0.6"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers"
-PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"
 
 KERNEL_IMAGETYPE ?= "uImage"
 # disable the images below for now
conf/machine/e500v2.inc +0 -1
index cf8f36c..6e2eb49 100644
@@ -8,7 +8,6 @@ MACHINE_EXTRA_RRECOMMENDS = ""
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk"
 PREFERRED_VERSION_virtual/kernel ?= "3.0.6"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers"
-PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"
 
 KERNEL_IMAGETYPE ?= "uImage"
 # disable the images below for now
conf/machine/e5500-64b.inc +0 -1
index 80dee5c..1e5d92b 100644
@@ -9,7 +9,6 @@ MACHINE_FEATURES_RRECOMMENDS = ""
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk"
 PREFERRED_VERSION_virtual/kernel ?= "3.0.6"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers"
-PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"
 
 KERNEL_IMAGETYPE ?= "uImage"
 # disable the images below for now
conf/machine/e5500.inc +0 -1
index 965618e..f34c2c0 100644
@@ -8,7 +8,6 @@ MACHINE_FEATURES_RRECOMMENDS = ""
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk"
 PREFERRED_VERSION_virtual/kernel ?= "3.0.6"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers"
-PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"
 
 KERNEL_IMAGETYPE ?= "uImage"
 # disable the images below for now
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 2/2 fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

If not set by user then let distro policy be to use linux-qoriq-sdk-headers-nativesdk for linux-libc-headers-nativesdk

---
 conf/distro/fsl.conf |    1 +
 1 file changed, 1 insertion(+)
conf/distro/fsl.conf +1 -0
index 6d4dc34..8bfb272 100644
@@ -83,6 +83,7 @@ IMAGE_CLASSES = "image_types_uboot"
 
 PREFERRED_VERSION_u-boot-mkimage-native_powerpc = "2011.06"
 PREFERRED_PROVIDER_virtual/libx11 = "libx11"
+PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"
 
 SYSVINIT_ENABLED_GETTYS = ""
 USE_VT = ""
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

So that about a disto refusing this and possibly other BSP layers ?
Should the disto.conf select of nativesdk be made machine specific on all machines in meta-fsl-ppc ? And one added target after a meta-fsl-ppc rebase would break stuff, I guess.

Br
David

Sent from Android

-----Original Message-----
From: Khem Raj [[email protected]]
Received: Friday, 06 Jul 2012, 6:52
To: [email protected] [[email protected]]
Subject: [yocto] [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

If not set by user then let distro policy be to use linux-qoriq-sdk-headers-nativesdk for linux-libc-headers-nativesdk

---
 conf/distro/fsl.conf |    1 +
 1 file changed, 1 insertion(+)
conf/distro/fsl.conf +1 -0
index 6d4dc34..8bfb272 100644
@@ -83,6 +83,7 @@ IMAGE_CLASSES = "image_types_uboot"
 
 PREFERRED_VERSION_u-boot-mkimage-native_powerpc = "2011.06"
 PREFERRED_PROVIDER_virtual/libx11 = "libx11"
+PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"
 
 SYSVINIT_ENABLED_GETTYS = ""
 USE_VT = ""

--
1.7.9.5

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

typo refusing = reusing.

-----Original Message-----
From: David Nyström [[email protected]]
Received: Friday, 06 Jul 2012, 12:49
To: [email protected] [[email protected]]; [email protected] [[email protected]]
Subject: Re: [yocto] [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

So that about a disto refusing this and possibly other BSP layers ?
Should the disto.conf select of nativesdk be made machine specific on all machines in meta-fsl-ppc ? And one added target after a meta-fsl-ppc rebase would break stuff, I guess.

Br
David

Sent from Android

-----Original Message-----
From: Khem Raj [[email protected]]
Received: Friday, 06 Jul 2012, 6:52
To: [email protected] [[email protected]]
Subject: [yocto] [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

If not set by user then let distro policy be to use linux-qoriq-sdk-headers-nativesdk for linux-libc-headers-nativesdk

---
 conf/distro/fsl.conf |    1 +
 1 file changed, 1 insertion(+)
conf/distro/fsl.conf +1 -0
index 6d4dc34..8bfb272 100644
@@ -83,6 +83,7 @@ IMAGE_CLASSES = "image_types_uboot"
 
 PREFERRED_VERSION_u-boot-mkimage-native_powerpc = "2011.06"
 PREFERRED_PROVIDER_virtual/libx11 = "libx11"
+PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"
 
 SYSVINIT_ENABLED_GETTYS = ""
 USE_VT = ""

--
1.7.9.5

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#4 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

In reply to David Nyström
Quoted 2 lines · David Nyström

So that about a disto refusing this and possibly other BSP layers ?
Should the disto.conf select of nativesdk be made machine specific on all machines in meta-fsl-ppc ? And one added target after a meta-fsl-ppc rebase would break stuff, I guess.

I don't quite follow... you are suggesting we have

PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"

in the machine.conf files instead?

-M

#5 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Yes this was my suggestion, since you might not want to change the nativesdk kernel headers for all machines in all BSP layers, if the distro is using multiple BSP layers, which it probably should be able to do. Setting this with machine overrides in distro.conf is possible but quite messy IMHO.
Furthermore , the nativesdk is set by ?= in machine.conf, any distro.conf wanting to alter this to a global setting can easily override with =

Sent from Android

-----Original Message-----
From: McClintock Matthew-B29882 [[email protected]]
Received: Friday, 06 Jul 2012, 17:48
To: David Nyström [[email protected]]
CC: [email protected] [[email protected]]; [email protected] [[email protected]]
Subject: Re: [yocto] [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 2 lines · David Nyström

So that about a disto refusing this and possibly other BSP layers ?
Should the disto.conf select of nativesdk be made machine specific on all machines in meta-fsl-ppc ? And one added target after a meta-fsl-ppc rebase would break stuff, I guess.

I don't quite follow... you are suggesting we have

PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"

in the machine.conf files instead?

-M

#6 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 4 lines · On Jul 6, 2012 5:35 PM, "David Nyström"…

Yes this was my suggestion, since you might not want to change the nativesdk kernel headers for all machines in all BSP layers, if the distro is using multiple BSP layers, which it probably should be able to do. Setting this with machine overrides in distro.conf is possible but quite messy IMHO.
Furthermore , the nativesdk is set by ?= in machine.conf, any distro.conf wanting to alter this to a global setting can easily override with =

I actually agree and was hoping to move everything possible out of distro.conf files. And make it easy as possible for folks to use meta-fsl-ppc in their own distro.

-M

Quoted 30 lines

Sent from Android

-----Original Message-----
From: McClintock Matthew-B29882 [[email protected]<mailto:[email protected]>]
Received: Friday, 06 Jul 2012, 17:48
To: David Nyström [[email protected]<mailto:[email protected]>]
CC: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>]; [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>]
Subject: Re: [yocto] [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 2 lines · On Fri, Jul 6, 2012 at 5:49 AM, David Nyström…

So that about a disto refusing this and possibly other BSP layers ?
Should the disto.conf select of nativesdk be made machine specific on all machines in meta-fsl-ppc ? And one added target after a meta-fsl-ppc rebase would break stuff, I guess.

I don't quite follow... you are suggesting we have

PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"

in the machine.conf files instead?

-M
_______________________________________________
yocto mailing list [email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto

#7 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 7 lines · On 07/07/2012 12:39 AM, McClintock Matthew-B29882 wrote:
Quoted 3 lines · On Jul 6, 2012 5:35 PM, "David Nyström"…

Yes this was my suggestion, since you might not want to change the nativesdk kernel headers for all machines in all BSP layers, if the distro is using multiple BSP layers, which it probably should be able to do. Setting this with machine overrides in distro.conf is possible but quite messy IMHO.
Furthermore , the nativesdk is set by ?= in machine.conf, any distro.conf wanting to alter this to a global setting can easily override with =

I actually agree and was hoping to move everything possible out of distro.conf files. And make it easy as possible for folks to use meta-fsl-ppc in their own distro.

-M

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf. Any reason for this ?

Quoted 29 lines
Quoted 29 lines

Sent from Android

-----Original Message-----
From: McClintock Matthew-B29882 [[email protected]<mailto:[email protected]>]
Received: Friday, 06 Jul 2012, 17:48
To: David Nyström [[email protected]<mailto:[email protected]>]
CC: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>]; [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>]
Subject: Re: [yocto] [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 2 lines · On Fri, Jul 6, 2012 at 5:49 AM, David Nyström…

So that about a disto refusing this and possibly other BSP layers ?
Should the disto.conf select of nativesdk be made machine specific on all machines in meta-fsl-ppc ? And one added target after a meta-fsl-ppc rebase would break stuff, I guess.

I don't quite follow... you are suggesting we have

PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-qoriq-sdk-headers-nativesdk"

in the machine.conf files instead?

-M
_______________________________________________
yocto mailing list [email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto

author
#8 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 5 lines · David Nyström

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf.
Any reason for this ?

why do you want nativesdk headers to come from BSP its a fsl-ppc bsp I dont expect it to have something special for SDK hosts which are usually x86 ? afterall these are for
the SDK host and not for target. Moreover it means that this BSP will not play in the multi BSP environment something you never want.

#9 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 7 lines · Khem Raj
Quoted 5 lines · David Nyström

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf.
Any reason for this ?

Quoted 5 lines

why do you want nativesdk headers to come from BSP its a fsl-ppc bsp I dont expect it to have something special for SDK hosts which are usually x86 ? afterall these are for
the SDK host and not for target. Moreover it means that this BSP will not play in the multi BSP environment something you never want.

But, I think we might need them for this warning specifically:

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for lib32-linux-libc-headers (lib32-linux-libc-headers, lib32-linux-libc-headers-yocto, lib32-linux-qoriq-sdk-headers)
NOTE: consider defining a PREFERRED_PROVIDER entry to match lib32-linux-libc-headers
NOTE: multiple providers are available for runtime lib32-linux-libc-headers-dev (lib32-linux-libc-headers, lib32-linux-libc-headers-yocto, lib32-linux-qoriq-sdk-headers)
NOTE: consider defining a PREFERRED_PROVIDER entry to match lib32-linux-libc-headers-dev

?

-M

author
#10 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 16 lines · On Thu, Aug 16, 2012 at 12:37 PM, McClintock Matthew-B29882…
Quoted 7 lines · Khem Raj
Quoted 5 lines · David Nyström

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf.
Any reason for this ?

Quoted 5 lines

why do you want nativesdk headers to come from BSP its a fsl-ppc bsp I dont expect it to have something special for SDK hosts which are usually x86 ? afterall these are for
the SDK host and not for target. Moreover it means that this BSP will not play in the multi BSP environment something you never want.

But, I think we might need them for this warning specifically:

Quoted 12 lines

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for lib32-linux-libc-headers (lib32-linux-libc-headers, lib32-linux-libc-headers-yocto, lib32-linux-qoriq-sdk-headers)
NOTE: consider defining a PREFERRED_PROVIDER entry to match lib32-linux-libc-headers
NOTE: multiple providers are available for runtime lib32-linux-libc-headers-dev (lib32-linux-libc-headers, lib32-linux-libc-headers-yocto, lib32-linux-qoriq-sdk-headers)
NOTE: consider defining a PREFERRED_PROVIDER entry to match lib32-linux-libc-headers-dev

This is a bug in OE-Core, it should have added appropriate defines for multilib case as well in
tcmode-default.inc and default-providers.inc

Quoted 3 lines

?

-M

#11 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 31 lines · Khem Raj
Quoted 16 lines · On Thu, Aug 16, 2012 at 12:37 PM, McClintock Matthew-B29882…
Quoted 7 lines · Khem Raj
Quoted 5 lines · David Nyström

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf.
Any reason for this ?

Quoted 5 lines

why do you want nativesdk headers to come from BSP its a fsl-ppc bsp I dont expect it to have something special for SDK hosts which are usually x86 ? afterall these are for
the SDK host and not for target. Moreover it means that this BSP will not play in the multi BSP environment something you never want.

But, I think we might need them for this warning specifically:

Quoted 12 lines

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for lib32-linux-libc-headers (lib32-linux-libc-headers, lib32-linux-libc-headers-yocto, lib32-linux-qoriq-sdk-headers)
NOTE: consider defining a PREFERRED_PROVIDER entry to match lib32-linux-libc-headers
NOTE: multiple providers are available for runtime lib32-linux-libc-headers-dev (lib32-linux-libc-headers, lib32-linux-libc-headers-yocto, lib32-linux-qoriq-sdk-headers)
NOTE: consider defining a PREFERRED_PROVIDER entry to match lib32-linux-libc-headers-dev

Quoted 3 lines

This is a bug in OE-Core, it should have added appropriate defines for multilib case as well in
tcmode-default.inc and default-providers.inc

And there appears to be a fix for it already:

http://patches.openembedded.org/patch/34723/

-M

Quoted 8 lines
Quoted 4 lines

?

-M

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#12 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

In reply to Khem Raj
Quoted 10 lines · Khem Raj
Quoted 4 lines · David Nyström

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf.
Any reason for this ?

why do you want nativesdk headers to come from BSP its a fsl-ppc bsp I dont expect it to have something special for SDK hosts which are usually x86 ? afterall these are for
the SDK host and not for target. Moreover it means that this BSP will not play in the multi BSP environment something you never want.

My main concern is that meta-toolchain uses linux-libc-headers-nativesdk for the meta-toolchain tarball build, i.e. the meta-toolchain API may differ from the on-target API in regards to kernel-headers, no ?

This might very well be true if kernel version of linux-libc-headers-nativesdk != linux-libc-headers

Br,
David

author
#13 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 17 lines · David Nyström
Quoted 9 lines · Khem Raj
Quoted 5 lines · David Nyström

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf.
Any reason for this ?

Quoted 5 lines

why do you want nativesdk headers to come from BSP its a fsl-ppc bsp I dont expect it to have something special for SDK hosts which are usually x86 ? afterall these are for
the SDK host and not for target. Moreover it means that this BSP will not play in the multi BSP environment something you never want.

Quoted 7 lines

My main concern is that meta-toolchain uses linux-libc-headers-nativesdk for the meta-toolchain
tarball build, i.e. the meta-toolchain API may differ from the on-target API in regards to kernel-headers, no ?

This might very well be true if kernel version of linux-libc-headers-nativesdk != linux-libc-headers

whats the point of keeping header versions same across two entirely different systems.
can you point to some instances where this API difference if any is in conflict ?

#14 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 23 lines · Khem Raj
Quoted 22 lines · David Nyström
Quoted 9 lines · Khem Raj
Quoted 5 lines · David Nyström

Hi, it looks like this was merged to the denzil branch, and PREFERRED_PROVIDER_linux-libc-headers-nativesdk was moved back to distro.conf.
Any reason for this ?

Quoted 5 lines

why do you want nativesdk headers to come from BSP its a fsl-ppc bsp I dont expect it to have something special for SDK hosts which are usually x86 ? afterall these are for
the SDK host and not for target. Moreover it means that this BSP will not play in the multi BSP environment something you never want.

My main concern is that meta-toolchain uses linux-libc-headers-nativesdk for the meta-toolchain
tarball build, i.e. the meta-toolchain API may differ from the on-target API in regards to kernel-headers, no ?

Quoted 7 lines
Quoted 2 lines

This might very well be true if kernel version of linux-libc-headers-nativesdk != linux-libc-headers

whats the point of keeping header versions same across two entirely different systems.
can you point to some instances where this API difference if any is in conflict ?

I just checked and we do have a few obscure bits in our kernel tree's header files. Nothing that 99.9% would use but it seems reasonable to include these...

-M

author
#15 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 3 lines

I just checked and we do have a few obscure bits in our kernel tree's header files. Nothing that 99.9% would use but it seems reasonable to include these...

Do you want applications for sdk host to be built using these obscure bits ? if yes I would like to know why?

since then you are creating a scenariou where nativesdk is dependent on target kernel and we need to fix it so that nativesdk can be common again.

if patches you are carrying are good for nativesdk headers can they be made available for other kernels like linux-yocto e.g. ?

right now if we do this we are pretty much saying fsl machine layer can really not mix with other BSPs. Many people use yocto commonly on more than one kind of CPU and this does not scale.

#16 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 10 lines · Khem Raj
Quoted 3 lines

I just checked and we do have a few obscure bits in our kernel tree's header files. Nothing that 99.9% would use but it seems reasonable to include these...

Do you want applications for sdk host to be built using these obscure bits ? if yes I would like to know why?

since then you are creating a scenariou where nativesdk is dependent on target kernel and we need to fix it so that nativesdk can be common again.

Quoted 6 lines

if patches you are carrying are good for nativesdk headers can they be made available for other kernels like linux-yocto e.g. ?

right now if we do this we are pretty much saying fsl machine layer can really not mix with other BSPs. Many people use yocto commonly on more than one kind of CPU and this does not scale.

Hmm I think I was just confused. We don't need any modifications for the headers for nativesdk foo (that is the x86 tools in meta-toolchain).

So, I think everything is OK as is.. if you look at meta-toolchain you will see it includes our kernel's headers for cross compiling.

-M

#17 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Adding David back...

-M

Quoted 26 lines · Matthew McClintock
Quoted 10 lines · Khem Raj
Quoted 3 lines

I just checked and we do have a few obscure bits in our kernel tree's header files. Nothing that 99.9% would use but it seems reasonable to include these...

Do you want applications for sdk host to be built using these obscure bits ? if yes I would like to know why?

since then you are creating a scenariou where nativesdk is dependent on target kernel and we need to fix it so that nativesdk can be common again.

Quoted 6 lines

if patches you are carrying are good for nativesdk headers can they be made available for other kernels like linux-yocto e.g. ?

right now if we do this we are pretty much saying fsl machine layer can really not mix with other BSPs. Many people use yocto commonly on more than one kind of CPU and this does not scale.

Hmm I think I was just confused. We don't need any modifications for the headers for nativesdk foo (that is the x86 tools in meta-toolchain).

So, I think everything is OK as is.. if you look at meta-toolchain you will see it includes our kernel's headers for cross compiling.

-M

#18 lore raw

Re: [meta-fsl-ppc][PATCH 2/2] fsl.conf: Let linux-qoriq-sdk-headers-nativesdk provide linux-libc-headers-nativesdk

Quoted 29 lines · On 08/20/2012 09:50 PM, McClintock Matthew-B29882 wrote:

Adding David back...

-M

Quoted 24 lines · Matthew McClintock
Quoted 9 lines · Khem Raj
Quoted 3 lines

I just checked and we do have a few obscure bits in our kernel tree's header files. Nothing that 99.9% would use but it seems reasonable to include these...

Do you want applications for sdk host to be built using these obscure bits ? if yes I would like to know why?

since then you are creating a scenariou where nativesdk is dependent on target kernel and we need to fix it so that nativesdk can be common again.

Quoted 6 lines

if patches you are carrying are good for nativesdk headers can they be made available for other kernels like linux-yocto e.g. ?

right now if we do this we are pretty much saying fsl machine layer can really not mix with other BSPs. Many people use yocto commonly on more than one kind of CPU and this does not scale.

Hmm I think I was just confused. We don't need any modifications for the headers for nativesdk foo (that is the x86 tools in meta-toolchain).

So, I think everything is OK as is.. if you look at meta-toolchain you will see it includes our kernel's headers for cross compiling.

-M

Oh, sorry for the misunderstanding

I was under the impression that linux-libc-headers-nativesdk was installed under /opt/poky/1.2/sysroots/<target-sysroot>/..., which it obviously is not.

Br,
David