diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..dcb63618f060 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +obj-m := pl2501.o + +ifndef KERNELRELEASE +KRELEASE := $(shell uname -r) +else +KRELEASE := $(KERNELRELEASE) +endif + +KDIR := /usr/lib/modules/$(KRELEASE)/build +PWD := $(shell pwd) + +default: + $(MAKE) -C $(KDIR) M=$(PWD) modules + +clean: + $(MAKE) -C $(KDIR) M=$(PWD) clean |