From a696826312b854ecf44aa273f8232106f5cdae6c Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Thu, 28 Dec 2017 19:31:17 -0500 Subject: added install target to makefile, not sure if i have to turn the *.ko file into a gunzip, so testing this --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ea2bf41..7084284 100644 --- a/Makefile +++ b/Makefile @@ -4,5 +4,9 @@ all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules dtbo: dtc -@ -I dts -o skey.dtbo skey.dts +install: all dtbo + cp skey.ko /lib/modules/$(shell uname -r)/kernel/drivers/hid/skey.ko + depmod + cp skey.dtbo /boot/overlays/skey.dtbo clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean -- cgit v1.1