I've been assigned a group work where we need, among other tasks, to disable ipv6 support in the kernel configuration and then recompile and install the new kernel.
I'm running Ubuntu 14.04LTS on VirtualBox with Linux kernel version 3.19.0-generic.
I've tried doing this with a tutorial I found, making use of Debian's make-kpkg, since I can quickly edit the config and set the CONCURRENCY_LEVEL. I've used this command:
$ fakeroot make-kpkg --initrd --revision 3.19.08 --jobs 4 --config menuconfig kernel-image kernel-headers
make: *** [debian/stamp/build/kernel] Error 2
I ended up using this command
make -j 5 KDEB_PKGVERSION=1.fsoubuntu deb-pkg and it worked wonders.