aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2019-08-04 04:45:06 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2019-08-05 23:22:26 +0200
commite545fac8d968864a965edb9e50c6f90940b0a6c9 (patch)
tree88124cfc0b0dae11f216a8391dcb66916c55cc5d /package/network/utils/iproute2/Makefile
parenta3a2b4857eb9c926bdbce7809bf5bd92f777e967 (diff)
downloadupstream-e545fac8d968864a965edb9e50c6f90940b0a6c9.tar.gz
upstream-e545fac8d968864a965edb9e50c6f90940b0a6c9.tar.bz2
upstream-e545fac8d968864a965edb9e50c6f90940b0a6c9.zip
build: include BUILD_VARIANT in PKG_BUILD_DIR
This changes the default PKG_BUILD_DIR to take BUILD_VARIANT into account (if set), so that packages do not need to manually override PKG_BUILD_DIR just to handle variants. This also updates most base packages with variants to use the updated default PKG_BUILD_DIR. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'package/network/utils/iproute2/Makefile')
-rw-r--r--package/network/utils/iproute2/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 16b838052e..37a01a597e 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -19,8 +19,6 @@ PKG_BUILD_DEPENDS:=iptables
PKG_LICENSE:=GPL-2.0
PKG_CPE_ID:=cpe:/a:iproute2_project:iproute2
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
-
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk