No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
After that, use ''make gconfig'' to open up the GUI configuration where you can choose to install specific drivers and such. | After that, use ''make gconfig'' to open up the GUI configuration where you can choose to install specific drivers and such. | ||
After saving the gconfig, you can use ''make uImage'' command to make the kernel for the ARM device and ''make modules'' to make the modules for it. | After saving the gconfig, you can use '''''make uImage''''' command to make the kernel for the ARM device and ''make modules'' to make the modules for it. |
Revision as of 05:37, 1 December 2010
First, grab a source code. wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2
Extract and install the package tar xjvf (tar.bz2 file)
You get a folder called linux-2.6.36.1. Change to that directory and edit the Makefile.
Inside the Makefile, change to the following:
ARCH ?= arm CROSS_COMPILE ?= (directory of the cross-compiler) For example, /home/username/Desktop/arm-2010.09/bin/arm-none-linux-gnueabi-
Next, make sure you have the defconfig file in your arch/arm/configs folder. You can then proceed with the command make (filename of defconfig)
After that, use make gconfig to open up the GUI configuration where you can choose to install specific drivers and such.
After saving the gconfig, you can use make uImage command to make the kernel for the ARM device and make modules to make the modules for it.