aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-11-11 13:01:50 +0100
committerFelix Fietkau <nbd@nbd.name>2017-11-11 13:20:39 +0100
commitf7186599ce72bfcc6f6442c9f43fa65f76d68206 (patch)
tree0547aab7a03222cba564774c6c7c4e14051748f5
parentb4e30b863c03d9cc825c56b07642bee788160a25 (diff)
downloadupstream-f7186599ce72bfcc6f6442c9f43fa65f76d68206.tar.gz
upstream-f7186599ce72bfcc6f6442c9f43fa65f76d68206.tar.bz2
upstream-f7186599ce72bfcc6f6442c9f43fa65f76d68206.zip
wireguard: move to kernel build directory
It builds a kernel module, so its build dir should be target specific Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/services/wireguard/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile
index f9ed6baf8e..9be2a4c197 100644
--- a/package/network/services/wireguard/Makefile
+++ b/package/network/services/wireguard/Makefile
@@ -21,7 +21,7 @@ PKG_HASH:=096b6482a65e566c7bf8c059f5ee6aadb2de565b04b6d810c685f1c377540325
PKG_LICENSE:=GPL-2.0 Apache-2.0
PKG_LICENSE_FILES:=COPYING
-PKG_BUILD_DIR:=$(BUILD_DIR)/WireGuard-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/WireGuard-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0