I'm trying to compile kernel 3.18.22 and while the kernel successfully compiles I can't get Catalyst 15.9 to work. According to AMD's website it should work with anything up to kernel 3.19. The driver works fine with default debian kernel(3.16). I even tried 3.19 with no luck. I get the following when I install the kernel:
DKMS make.log for fglrx-15.201.1151 for kernel 3.18.22 (x86_64) Sun Oct 4 19:59:02 PDT 2015 AMD kernel module generator version 2.1 doing Makefile based build for kernel 2.6.x and higher make: *** No rule to make target 'clean'. Stop. make: *** No targets. Stop. build failed with return value 2
I got fglrx from AMD's website and the kernel from kernel.org. I installed fglrx using the installer. I followed this tutorial for compiling. I used
make localmodconfig to copy my current config using the defaults for any new entries. The config is here. The DKMS error was located in the log after doing
make install for the kernel.