[poky] Building kernel modules outside of kernel recipe
Gary Thomas
gary at mlbassoc.com
Fri Nov 12 05:04:56 PST 2010
On 10/06/2010 08:49 AM, Richard Purdie wrote:
> On Wed, 2010-10-06 at 08:20 -0600, Gary Thomas wrote:
>> I filed a bug on this last month:
>> http://bugzilla.pokylinux.org/show_bug.cgi?id=241
>>
>> Richard, you made a comment about how the emenlow machine works around
>> this, but I'm not seeing how this is done in the recipes/conf files.
>>
>> Any hints? Maybe I can see how to extend this for all targets.
>
> http://git.pokylinux.org/cgit/cgit.cgi/poky/tree/meta-emenlow/packages/psb-kernel-source/psb-kernel-source-4.42.0/build.patch
>
> See the change to psb-kernel-source-4.42.0/Makefile
Sorry, but these changes will only work when the target architecture
is execute-compatible with the host machine. These are host executables
that need to be [re]built and the lines inserted into the Makefile will
end up building target executables. For the PSB kernel, it works fine
since it's x86 and your build host will be x86 or ia64. It falls apart
for me since my target is ARM.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the poky
mailing list