diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5a83051 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +obj-$(CONFIG_TOUCHSCREEN_TBN) += touch_bus_negotiator.o + +KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build +M ?= $(shell pwd) + +KBUILD_OPTIONS += CONFIG_TOUCHSCREEN_TBN=m +EXTRA_CFLAGS += -DDYNAMIC_DEBUG_MODULE + +modules modules_install clean: + $(MAKE) -C $(KERNEL_SRC) M=$(M) \ + $(KBUILD_OPTIONS) \ + EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ + $(@) |