mirror of
https://github.com/RustyRaptor/Logitech-FF-Linux.git
synced 2026-12-03 16:05:17 -07:00
18 lines
296 B
Makefile
18 lines
296 B
Makefile
KBUILD_EXTRA_SYMBOLS := /tmp/Module.symvers
|
|
KBUILD_CFLAGS += -g3
|
|
|
|
ifneq ($(KERNELRELEASE),)
|
|
obj-m += klgd_ff_plugin.o
|
|
|
|
else
|
|
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
|
|
PWD := $(shell pwd)
|
|
|
|
default:
|
|
$(MAKE) -C $(KERNELDIR) M=$(PWD)
|
|
|
|
clean:
|
|
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
|
|
|
|
endif
|