[OE-core] [PATCH 1/1] kernel.bbclass: make external module compile
Darren Hart
dvhart at linux.intel.com
Wed Jul 6 18:22:35 UTC 2011
On 07/06/2011 10:31 AM, Anders Darander wrote:
> Hi Darren,
>
> On 6 jul 2011, at 18:37, "Darren Hart" <dvhart at linux.intel.com>
> wrote:
>> Please see the following commit log:
>>
>> commit 3b49416fc7a7ee9bfe722f2e6089aa18df41dc58 Author: Darren Hart
>> <dvhart at linux.intel.com> Date: Tue Mar 8 17:09:10 2011 -0800
>>
>> kernel/bbclass: rework kernel and module classes to allow for
>> building out-of-tree modul
>>
>>
>> In particular, the following:
>>
>> Care is also taken to clean the hostprogs in scripts, and the
>> modules are responsible for building them as needed. Although it is
>> unclear to me if this is really necessary, especially considering
>> that modules put these bits back as soon as they compile. If we are
>> not generating an sstate package, I suspect we can ignore these.
>>
>> The scripts are recreated during the build of module.bbclass
>> derived recipes. Are you trying to build modules independently of
>> this method? Richard expressed concerns about not including host
>> specific binaries in the sstate, which was part of the reason this
>> approach was taken.
>
> Thanks for pointing out this, especially the first sentence in this
> paragraph. No matter how many times I've looked at both the recipes
> in question, as well as the meta/classes directory, I haven't noticed
> that the old, inherited recipes were not using module.bbclass, but
> rather inherited module-base.bbclass directly. I'll assume that once
> I change that, and fix the recipes properly all my issues will go
> away.
>
> Once more, thanks for pointing me to the real problem.
Excellent, please keep us posted!
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the Openembedded-core
mailing list