summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-02-14 11:49:04 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-02-14 11:49:04 +0100
commit6597a767503ff005ea7391ae9eedb50917c21fe2 (patch)
tree6224c7f2bc2b07c5758bc9eebf0711d3b8a90aee /src
parentfb39783f91357faa6dd476c9ce9e6c138d5b134e (diff)
Makefile: add module-install target
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index c054825..960bbb4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,6 +34,10 @@ clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
$(MAKE) -C tools clean
+module-install:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
+ depmod -a
+
install:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
depmod -a
@@ -61,4 +65,4 @@ cloc: clean
-include tests/debug.mk
-.PHONY: all module module-debug tools install dkms-install clean core-cloc check version.h dkms.conf
+.PHONY: all module module-debug module-install tools install dkms-install clean core-cloc check version.h dkms.conf