Bitbake Kernel Module Recipes

I have been looking for a simple example explaining the creation of a
basic kernel module specifically using the OE/BitBake recipe
framework. I have built some simple kernel modules previously on the
beagleboard using Ubuntu. So I understand the basic processes
involved. What is currently tripping me up is the linking process
between the makefile and the recipe file. Specifically I was hoping
somebody could help explain how the arguments/flags get passed to the
recipe, or even better yet provide a simple cookbook example. I know
this is very basic stuff, but I think a lot of other people out there
would also benefit from the kernel module equivalent of the existing
helloworld package.

Andrew

The following site has a nice little example to work off of for anyone
else trying to figure out how to link your kernel module with a
bitbake recipe:

http://www.kunen.org/uC/beagle/oe_kmod.html