Building Kernel 3.8 (with Device Tree)
git clone git://github.com/RobertCNelson/linux-dev.git
git checkout origin/am33x-v3.8 -b tmp
./build_kernel.sh fails with ‘undefined references’ to some functions in files like ‘menubox.c’ try running:
sudo apt-get install libncurses5 libncurses5-dev libelf-dev libncurses5 libncursesw5-dev and then retry with ./build_kernel.sh.
Setting up Kernel 3.8.x for Android
Once in the Kernel Configuration Utility (kConfig) scroll down, and enter, ‘Device Drivers’.
Then, enter ‘Staging drivers’ -> ‘Android’. Enable all Android drivers. I recommend you to include them into the kernel, and not build them as module.
Exit ‘kConfig’ and the Kernel will begin building.
When it is done you will see something like