[oe] Broken kernel recipes

Tom Rini trini at kernel.crashing.org
Sun Dec 7 18:52:14 UTC 2008


On Sun, Dec 07, 2008 at 12:34:17PM +0100, Koen Kooi wrote:
> On 07-12-08 03:11, Tom Rini wrote:
>> Hello,
>>
>> As part of testing meta-toolchain-sbox builds on different arches, I
>> found that sbrsh, on ARM, brings in both the 2.6 kernel for the MACHINE
>> in question, as well as a 2.4 kernel.  In the case of the 2.4 kernel, it
>> first picks up poodle-kernel-2.4-embedix.bb on nokia800, which doesn't
>> work as it wants gcc-2.95, which doesn't exist.  Can I move the
>> following support to packages/obsolete/linux/ ?
>> corgi-kernel-2.4-embedix.bb
>> husky-kernel-2.4-embedix.bb
>> openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.bb
>> poodle255-kernel-2.4-embedix.bb
>> poodle-kernel-2.4-embedix.bb
>> shepherd-kernel-2.4-embedix.bb
>> openzaurus-pxa27x_2.4.20-rmk2-embedix20050602.bb
>> openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.bb
>
> IMO kernel recipes should set COMPATIBLE_MACHINE to the machines they  
> support and in the case of ARM 2.4 kernels also COMPATIBLE_HOST to stop  
> them being selected for EABI targets.

In the case of MACHINE=nokia800 and me getting
poodle-kernel-2.4-embedix.bb, that should be the case already?
$ grep COMPAT poodle-kernel-2.4-embedix.bb
openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc
poodle-kernel-2.4-embedix.bb:COMPATIBLE_HOST = "arm.*-linux"
openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc:COMPATIBLE_MACHINE =
"(poodle|corgi|shepherd|husky|poodle255|tosa)"
openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc:COMPATIBLE_HOST =
"arm.*-linux"
openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc:COMPATIBLE_MACHINE =
'(c7x0|corgi|husky|shepherd|poodle|poodle255)'

> Also bitbake trunk and bitbake-1.8 should have some fixes for  
> tryaltconfig, but the kernel recipes need to get fixed first.

Can you explain a little more here or point to an example of fixing this
elsewhere?  Thanks!

-- 
Tom Rini




More information about the Openembedded-devel mailing list