13 lines
188 B
Makefile
13 lines
188 B
Makefile
|
|
||
|
ifneq ($(KERNELRELEASE),)
|
||
|
include Kbuild
|
||
|
else
|
||
|
# normal makefile
|
||
|
KDIR ?= /lib/modules/`uname -r`/build
|
||
|
|
||
|
default:
|
||
|
$(MAKE) -C $(KDIR) M=$$PWD
|
||
|
clean:
|
||
|
$(MAKE) -C $(KDIR) M=$$PWD clean
|
||
|
endif
|