diff options
author | Luis Ressel <aranea@aixah.de> | 2019-02-17 05:21:01 +0100 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2019-02-17 05:42:23 +0100 |
commit | 516f05862edd0bb135dcb9c93acaa67ff5b676ed (patch) | |
tree | 3c5487e16e2e5ae6c36a9ac1a67743de73d463a1 /src/Makefile | |
parent | Makefile: don't duplicate code in install and modules-install (diff) | |
download | wireguard-monolithic-historical-516f05862edd0bb135dcb9c93acaa67ff5b676ed.tar.xz wireguard-monolithic-historical-516f05862edd0bb135dcb9c93acaa67ff5b676ed.zip |
Makefile: make the depmod path configurable
Signed-off-by: Luis Ressel <aranea@aixah.de>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 3 |
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 |