diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-28 19:31:17 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-28 19:31:17 -0500 |
commit | a696826312b854ecf44aa273f8232106f5cdae6c (patch) | |
tree | ea0d0af3583e6daf6ba0c3db947b080baee42fb1 | |
parent | 75f09556956c0fb5a63b6a708c10ab1544cd4ccc (diff) |
added install target to makefile, not sure if i have to turn the *.ko file into a gunzip, so testing this
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |