allow building via kbuild

see https://www.kernel.org/doc/Documentation/kbuild/modules.txt
This commit is contained in:
Evgeni Golov 2013-04-07 18:45:21 +02:00
parent a06157f3c9
commit 365c311a3b

View File

@ -25,6 +25,11 @@ else
THINKPAD_EC_PARAM :=
endif
ifneq ($(KERNELRELEASE),)
obj-m := $(TP_MODULES)
else
endif
DEBUG := 0
.PHONY: default clean modules load unload install patch check_hdaps mk-hdaps.diff