I've been trying to build a Ubuntu Kernel for the past several weeks. (Actually, I don't need the kernel, I just need snd-aloop.ko, which is missing from the Ubuntu 14 server distributions, it's in 12, but I can't find a way to build just this module that works on the latest released Ubuntu that I'm running (Ubunty/trusty Linux vagrant-ubuntu-trusty-64 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)
I followed the directions on the official Ubuntu site and get this error
Using /home/vagrant/linux-3.13.0 as source for kernel /home/vagrant/linux-3.13.0 is not clean, please run 'make mrproper' in the '/home/vagrant/linux-3.13.0' directory.
Among the things mrproper does, is delete the "debian" directory!
CLEAN /home/vagrant/linux-3.13.0/debian/ CLEAN .config
How do I build without the debian directory, as the official Ubuntu documentation tells me to build the kernel with the "rules" script in the debian directory
fakeroot debian/rules clean DEB_BUILD_OPTIONS=parallel=3 AUTOBUILD=1 fakeroot debian/rules binary-generic
Note that I run the debian/rules clean before my build, but it isn't clean enough for Mr. Proper! Ill get that message:
/home/vagrant/linux-3.13.0 is not clean, please run 'make mrproper'
I have done nothing to the source tree other than set the .config file to match the system I'm running on. All I really want is a snd-aloop.ko that will load on my system. Why is Ubuntu so screwed up?