Template:Build Kernel

= Building Linux Kernel =


 * Download and check out kernel using git:

$ git clone git://dev.omapzoom.org/pub/scm/integration/kernel-omap4.git
 * OMAP4

$ git clone git://dev.omapzoom.org/pub/scm/integration/kernel-omap3.git
 * OMAP3

Visit Source Trees page for a list of all source tress available.

$ git branch -a (list all branches available) $ git checkout -b  $ cd  Visit the Development Toolbox for more links on "git".
 * Git check-out:

Supported platform config files are listed in the configs directory $ ls /arch/arm/configs/ Select a OMAP Platform $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm 
 * Selecting a Board config file

$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm menuconfig
 * Changing configuration options

$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage uImage located at arch/arm/boot/
 * Building kernel

Note: CROSS_COMPILE can be added to your environment variables.