I like to build my own custom kernel to use with the Android Emulator. I know how to build my own Android Emulator image and how to set the kernel that you want use when booting the emulator. But I have no idea how to build a custom kernel for the emulator and what should be in there.
Does anyone has some starting point for me or some documentation?
You can git clone common kernel source from android.git.kernel.org (kernel/common.git) .
After clone, checkout remote branch origin/android-goldfish-2.6.29.
Then, you can build a kernel image for the emulator. Use arch/arm/configs/goldfish_defconfig for configuration.