I am attempting to compile the kernel for the RPI using Raspbian. These are the steps I took...
(1) Imaged the SD card from http://www.raspberrypi.org/downloads
(2) Downloaded the kernel from and placed it in my /usr/src
directory sudo wget https://github.com/raspberrypi/linux/archive/rpi-3.6.y.zip
Now I would like to run the following commands to create the new image file...
(1) sudo make menuconfig
(2) sudo make
(3) sudo make modules
(4) sudo make modules_install
The first problem I have is that I want to compile using the header files from my downloaded kernel and no the current system kernel. (I am compiling on the actual RPI) How do I change it so that happens.
My second question is are there any special configurations needed to be done during step 1 sudo make menuconfig
so that I can write my own drivers?