display: kernel-driver: update to latest kernel and new file structure
This commit is contained in:
parent
90203f56cf
commit
465dbf8c79
@ -1,12 +1,12 @@
|
|||||||
obj-m := lmg6202ulyt.o
|
obj-m := lmg6202ulyt.o
|
||||||
KDIR := ~/projects/arm-linux/current
|
KDIR := ~/projects/linux/opi-current
|
||||||
PWD := $(shell pwd)
|
PWD := $(shell pwd)
|
||||||
default: lmg6202ulyt.ko
|
default: lmg6202ulyt.ko
|
||||||
lmg6202ulyt.ko: lmg6202ulyt.c
|
lmg6202ulyt.ko: lmg6202ulyt.c
|
||||||
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
|
$(MAKE) -C $(KDIR) M=$(PWD)
|
||||||
|
|
||||||
deploy: lmg6202ulyt.ko
|
deploy: lmg6202ulyt.ko
|
||||||
scp $< markus@opi:/home/markus/lmg6202ulyt/deploy
|
scp $< markus@opi:/home/markus/projects/lw35/deploy/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ./*.o ./*.ko ./*.mod.c modules.order Module.symvers
|
rm -f ./*.o ./*.ko ./*.mod.c modules.order Module.symvers
|
||||||
|
Loading…
Reference in New Issue
Block a user