I want to learn linux kernel programming and so I downloaded Linux kernel 3.7.6 source from www.kernel.org. However before editing anything, I tried to compile it using online tutorials.
The make
takes a lot of time to compile and I haven't done it completely yet. Is there any quick way to change the source code and test it? Because I've read that kernel compilation takes around an hour.
Also, If it is possible to copy and test the modified kernel on a USB drive? Is it possible to install GRUB on a USB drive, copy the kernel on USB, configure the GRUB on USB and then run it? If so, please give me any resources which have steps of doing the same. I also have GRUB installed on my laptop. How to set up new GRUB on USB without disturbing the configuration on my laptop?
Thanks.. :)