aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Morgner <fmorgner@hsr.ch>2017-10-26 10:31:15 +0200
committerFelix Morgner <fmorgner@hsr.ch>2017-10-26 10:32:43 +0200
commitca32de376709578996a8fd8fba0cfa9c6af61f24 (patch)
tree0e1aac4b60809af33142a14c54ed5ebeff3a6158
parenta26891a23c0dcf4157324cf04af1466575d650fb (diff)
downloaddev-cyber-ca32de376709578996a8fd8fba0cfa9c6af61f24.tar.xz
dev-cyber-ca32de376709578996a8fd8fba0cfa9c6af61f24.zip
make: provide install target
-rw-r--r--Makefile4
-rw-r--r--README.rst2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 16ea2f5..b997a75 100644
--- a/Makefile
+++ b/Makefile
@@ -13,5 +13,9 @@ cyber-objs := src/cyber_device.o \
all:
make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules
+install:
+ make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules_install
+ depmod -a
+
clean:
make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean
diff --git a/README.rst b/README.rst
index db652cb..bacce38 100644
--- a/README.rst
+++ b/README.rst
@@ -55,7 +55,7 @@ CYBER-enable your system today:
4. Load the module through **Systematic Unity Dissolution Orchestration**
combined with **Instant Naturalistic System MODification** (SUDO INSMOD)::
- $ sudo insmod cyber.ko
+ $ sudo -E make install
5. **PROFIT!** (through unlimited CYBER)