Skip to content

Commit

Permalink
driver include
Browse files Browse the repository at this point in the history
  • Loading branch information
nuni38317 committed Oct 22, 2022
1 parent d868dd0 commit 3f37658
Show file tree
Hide file tree
Showing 5 changed files with 1,587 additions and 0 deletions.
15 changes: 15 additions & 0 deletions drivers/CH341SER_LINUX/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ifeq ($(KERNELRELEASE), )
KERNELDIR := /lib/modules/$(shell uname -r)/build
PWD :=$(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD)
clean:
rm -rf .tmp_versions Module.symvers *.mod.c *.o *.ko .*.cmd Module.markers modules.order
load:
modprobe usbserial
insmod ch34x.ko
unload:
rmmod ch34x
else
obj-m := ch34x.o
endif
Loading

0 comments on commit 3f37658

Please sign in to comment.