>
> Hello guyz,
> i would like to know how to compile linux kernel ( v2.6.29 ).
> i did download the latest kernel from kernel.org. what next ?
>
> Thanks in advance.
>
> Vinod
>
>
If it is a native build - simpler yet. Get the existing .config from
/usr/src/linux<version from uname>/.config
and put it in the untarred kernel source. Then:
make oldconfig # update the values for the newer kernel.
make uImage
make modules
This is the easiest way to get started. If you want to customize -
make menuconfig # you can use gconfig, xconfig, etc for GUI
interface
For a cross compile -
make ARCH=xxx CROSS_COMPILE=toolchain- default_config_for_xxx # u can
usually find under <linux-src>/arch/xxx/configs
make ARCH=xxx CROSS_COMPILE=toolchain- uImage
make ARCH=xxx CROSS_COMPILE=toolchain- modules
make ARCH=xxx CROSS_COMPILE=toolchain-
INSTALL_MOD_PATH=/home/mayank/workdir/filesys modules_install
Had jotted down some really useful links on the blog -
http://techydodo.wordpress.com/2008/07/17/wannabe_a_kernel_hacker/
Hope this helps...
--
Have a nice day,
Mynk
http://ngopost.org/story.php?title=Food_wasted_is_a_life_wasted-1
o__
_> /__
(_) \(_)... Burn fat not fuel - Byke along to a healthier life and cleaner
world! :)