Linux kernel module compilation fails

view story

http://stackoverflow.com – My last kernel development was in version 2.6~ Now I try to compile a module, and I get the following error when compiling outside the kernel tree. /bin/sh: 1: /home/blabla/workspace/kernel35/linux-3.5/scripts/recordmcount: not found The object file is created properly, however the problem is within the kernel Makefile itself, something has changed and I wasn't updated ? I'm using vanilla kernel sources from kernel.org, and I already did make oldconfig && make prepare I posted the Makefile that I'm using, it's a standard makefile for kernel modules # Comment/uncomment the foll (HowTos)