Skip to content
  • Darren Hart's avatar
    2140c9df
    hello-mod: add a module for testing module.bbclass · 2140c9df
    Darren Hart authored
    
    
    The following patch creates a hello-mod recipe for building a trivial
    out-of-tree kernel module, hello-mod.ko. This demonstrates the hostprogs
    build modifications added to module.bbclass. When loaded and unloaded,
    the module prints a simple string to the console to demonstrate it was
    compiled correctly.
    
    Tested on qemux86 poky-image-sato and beagleboard poky-image-minimal
    (after adding hello-mod to the images).
    
    (From OE-Core rev: d4765569d51448e8918bb15e7ab342983344074a)
    
    Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
    CC: Gary Thomas <gary@mlbassoc.com>
    Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
    2140c9df
    hello-mod: add a module for testing module.bbclass
    Darren Hart authored
    
    
    The following patch creates a hello-mod recipe for building a trivial
    out-of-tree kernel module, hello-mod.ko. This demonstrates the hostprogs
    build modifications added to module.bbclass. When loaded and unloaded,
    the module prints a simple string to the console to demonstrate it was
    compiled correctly.
    
    Tested on qemux86 poky-image-sato and beagleboard poky-image-minimal
    (after adding hello-mod to the images).
    
    (From OE-Core rev: d4765569d51448e8918bb15e7ab342983344074a)
    
    Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
    CC: Gary Thomas <gary@mlbassoc.com>
    Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
Loading