$ cd /lib/modules/$(uname -r)/
$ rm build
$ ln -s source build
$ cd build/
$ su
(root password)
$ make mrproper
$ make cloneconfig
$ make prepare-all
Important: You must change make prepare-all
to make prepare scripts
if you get an error similar to:
/bin/sh: scripts/genksyms/genksyms: No such file or directory