Getting this error on Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; x86_64 i386 MacBookPro8
make[629]: make: Resource temporarily unavailable
I believe this is because too many makes are being spawned too quickly.
Also /lib/modules/$(shell uname -r)/build does not exist by default so I had to change KERNELDIR to the current working directory.