aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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