]> code.ossystems Code Review - openembedded-core.git/commit
hello-mod: add a module for testing module.bbclass
authorDarren Hart <dvhart@linux.intel.com>
Tue, 1 Mar 2011 22:18:32 +0000 (14:18 -0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 4 Mar 2011 19:37:08 +0000 (11:37 -0800)
commitd4765569d51448e8918bb15e7ab342983344074a
treef5555936dfc7daa5f92974c8f913e7591fdc990b
parente807fc977770cb64a217768672c18437ea8f3057
hello-mod: add a module for testing module.bbclass

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).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
meta/recipes-kernel/hello-mod/files/COPYING [new file with mode: 0644]
meta/recipes-kernel/hello-mod/files/Makefile [new file with mode: 0644]
meta/recipes-kernel/hello-mod/files/hello.c [new file with mode: 0644]
meta/recipes-kernel/hello-mod/hello-mod_0.1.bb [new file with mode: 0644]