summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-02-17 05:21:01 +0100
committerLuis Ressel <aranea@aixah.de>2019-02-17 05:42:23 +0100
commit003a4cad434fe216190a94f675b9c0a9e183cfeb (patch)
tree5744d102af2d34b12dd5ecd5eb0350d68bc4abc9 /src/Makefile
parent5887bd0f7123b619dd12131a9566b1d94417bac9 (diff)
Makefile: make the depmod path configurable
Signed-off-by: Luis Ressel <aranea@aixah.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index fca28a5..24b2ba0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,6 +7,7 @@ PREFIX ?= /usr
DESTDIR ?=
SRCDIR ?= $(PREFIX)/src
DKMSDIR ?= $(SRCDIR)/wireguard
+DEPMOD ?= depmod
PWD := $(shell pwd)
@@ -44,7 +45,7 @@ clean:
module-install:
@$(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
- depmod -a
+ $(DEPMOD) -a
install: module-install tools-install