| obj-$(CONFIG_INPUT_DRV2624_HAPTICS) += drv2624.o | |
| KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build | |
| M ?= $(shell pwd) | |
| KBUILD_OPTIONS += CONFIG_INPUT_DRV2624_HAPTICS=m | |
| modules modules_install clean: | |
| $(MAKE) -C $(KERNEL_SRC) M=$(M) $(KBUILD_OPTIONS) W=1 $(@) | |