[yocto] Cross Compile Kernel Modules

Parker Mackenzie wparkermackenzie at live.com
Thu Oct 3 13:08:58 PDT 2013


I have been researching a way to build loadable kernel modules outside of Yocto for a while. I was excited to find a presentation from the Yocto Developer's Day 2013 which implied I code do this by adding the following line to my local.conf:
IMAGE_INSTALL_append = " kernel_dev"

However, when I ran bitbake for my beagleboard target I get the following error. Any help in understanding what is wrong and how to achieve my goal would be most helpful.

Kind Regards,
Parker Mackenzie



[parker at jasper build]$ bitbake core-image-minimal
Parsing recipes: 100% |#########################################| Time: 00:03:55
Parsing of 814 .bb files complete (0 cached, 814 parsed). 1121 targets, 43 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-17"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.2"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        
meta-yocto-bsp    = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'kernel_dev' (but /home/parker/Projects/beagleboard/yocto/poky-dylan-9.0.2/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'kernel_dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['kernel_dev']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'kernel_dev']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code. 		 	   		  


More information about the yocto mailing list