How to insert a simple Module on Beagle Bone Black Linux

Hi All,

I have been doing my first few exercises with Beagle bone on inserting modules the (Hello World example).

I had made the HelloWorld.c and the Makefile.

But when I write give the make command, I get messages like the Build folder is missing under /lib/modules/.

So please let me know what are the steps in inserting a simple module into BeagleBone Black.

My reference was
http://www.thegeekstuff.com/2013/07/write-linux-kernel-module/

Regards
Anand