Building kernel modules outside of kernel recipe
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.
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 ------------------------------------------------------------