How do I make a kernel image from the downloaded source code files?
Change directories to the linux directory where you installed your source tree.
cd linux
Issue one of the following commands:
make graphicsclient_config (for a GraphicsClient Plus)
make graphicsmaster_config (for the GraphicsMaster)
make adsbitsy_config (for the Bitsy)
make adsbitsyplus_config (for a Bitsy Plus)
make adsagc_config (for the Advanced GraphicsClient)
make adsbitsyx_config (for the BitsyX)
make adsagx_config (for the AGX)
Then issue these commands:
make oldconfig (see note 1)
make dep zImage (see note 2)
You'll find the resulting compressed kernel zImage file in the linux/arch/arm/boot directory.
[1] To change the kernel configuration, issue this command:
make menuconfig
Then continue with:
make dep zImage
[2] To rebuild the zImage without rechecking dependencies, issue the command:
make zImage
Use this after making source code chages that don't affect the configuration or header dependencies.
Other commands
To just recheck dependencies, issue the command:
make dep
To make a tag file, issue the command:
make TAGS
Emacs tip: After you've made the TAGS file, you can place the cursor on the identifier for a subroutine or data element, hold down the ALT key and press '.' to see the source. (The first time you do this, emacs will ask you where the TAG file is.) Use ALT + '*' to return to where you were.
To remove all images, objects, and configuration from the source tree, issue the command:
make distclean
Use this if you want to build an image for a different board. Note: The kernel configuration will be defaulted but your source code changes will not be affected.
To make modules, issue the command:
make modules
The modules will be created in their directories (e.g. linux/arch/arm/kernel, linux/drivers/char, etc.)