aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit516f05862edd0bb135dcb9c93acaa67ff5b676ed (patch)
tree3c5487e16e2e5ae6c36a9ac1a67743de73d463a1
parentMakefile: don't duplicate code in install and modules-install (diff)
downloadwireguard-monolithic-historical-516f05862edd0bb135dcb9c93acaa67ff5b676ed.tar.xz
wireguard-monolithic-historical-516f05862edd0bb135dcb9c93acaa67ff5b676ed.zip
Makefile: make the depmod path configurable
Signed-off-by: Luis Ressel <aranea@aixah.de>
-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