summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-12-28 22:15:44 -0500
committerknolax <1339802534.kk@gmail.com>2017-12-28 22:15:44 -0500
commit69928cf307b64887f791597df3a0c6b1261dcc27 (patch)
tree275b65a5270f7a9a84911c5f2a9c9167fdd3b790 /Makefile
parent25ed4fad8b7f5b9133bc2243680b7693470e0466 (diff)
added systemd unit to initialize pin modes and load the kernel module on startup, yet to be tested
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e0e441a..5daf5b4 100644
--- a/Makefile
+++ b/Makefile
@@ -8,5 +8,6 @@ install:
cp skey.ko /lib/modules/$(shell uname -r)/kernel/drivers/hid/skey.ko
depmod
cp skey.dtbo /boot/overlays/skey.dtbo
+ cp skey.service /etc/systemd/system/skey.service
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean