Skip to contentSkip to conversation

Building kernel modules outside of kernel recipe

DISCUSSION Gary Thomas 1 participant 1 message Nov 12, 2010 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Richard Purdie
Quoted 3 lines · Gary Thomas

I filed a bug on this last month:

    http://bugzilla.pokylinux.org/show_bug.cgi?id=241
Quoted 8 lines
Quoted 4 lines

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------