summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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