summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-09-08 17:44:17 +0000
committerSteven Barth <cyrus@openwrt.org>2015-09-08 17:44:17 +0000
commit579fe7f52ab6c6d6ec6087901f8e5514cea4b4e8 (patch)
tree4fd1e85d7283f6d1067e48b09339676c21c1ab1e /package/network
parent00045fe9d0f379bc2621102dde7e7b630f870ffd (diff)
downloadmtk-20170518-579fe7f52ab6c6d6ec6087901f8e5514cea4b4e8.zip
mtk-20170518-579fe7f52ab6c6d6ec6087901f8e5514cea4b4e8.tar.gz
mtk-20170518-579fe7f52ab6c6d6ec6087901f8e5514cea4b4e8.tar.bz2
iproute2: improve ip-full coexistence, remove rt_table
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46831
Diffstat (limited to 'package/network')
-rw-r--r--package/network/utils/iproute2/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 7b55f69..cc73c13 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=iproute2
PKG_VERSION:=4.0.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://kernel.org/pub/linux/utils/net/iproute2/
@@ -39,10 +39,6 @@ endef
Package/ip-full=$(call Package/iproute2/Default,full,Full)
-define Package/ip/conffiles
-/etc/iproute2/rt_tables
-endef
-
define Package/ip-$(BUILD_VARIANT)/conffiles
$(Package/ip/conffiles)
endef
@@ -112,13 +108,12 @@ endef
define Package/ip/install
$(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_DIR) $(1)/etc/iproute2
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/iproute2/rt_tables $(1)/etc/iproute2
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/sbin/
endef
-define Package/ip-$(BUILD_VARIANT)/install
- $(Package/ip/install)
+define Package/ip-full/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/bin/
endef
define Package/tc/install