The first thing you'll need to do to recompile the MeeGo kernel is to download and unpack the MeeGo kernel package. To get that package you can download it with wget like this;
You can of course get your kernel directly from upstream at kernel.org for example.
Then unpack the rpm;
rpm2cpio *.rpm | cpio -id
and spot the linux-2.6.35.tar.bz2 file and patch-184.108.40.206.bz2
git clone git://gitorious.org/meego-os-base/kernel-source.git