Skip to content

Commit

Permalink
Merge pull request #4 from patrickelectric/corrections
Browse files Browse the repository at this point in the history
Correct KERNEL_DIR path
  • Loading branch information
allanbian1017 authored Jul 23, 2018
2 parents 7679c1b + 80bffcc commit f635589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PWD := $(shell pwd)
PWD := $(shell pwd)
KVERSION := $(shell uname -r)
KERNEL_DIR = /usr/src/linux-headers-$(KVERSION)/
KERNEL_DIR = /lib/modules/$(KVERSION)/build

MODULE_NAME = i2c-ch341-usb
obj-m := $(MODULE_NAME).o
obj-m := $(MODULE_NAME).o

all:
make -C $(KERNEL_DIR) M=$(PWD) modules
Expand Down

0 comments on commit f635589

Please sign in to comment.