Signed-off-by: Jan Kardell <[email protected]> --- package/network/utils/iproute2/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index a44572d..c9cd02a 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:=3.11.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/ @@ -33,6 +33,15 @@ $(call Package/iproute2/Default) TITLE:=Routing control utility endef +define Package/ip/config + config IPROUTE2_IP_FULL + bool "Full version of ip command" + depends on @PACKAGE_ip + help + Include support for CAN, IPoIB and VXLAN. + default n +endef + define Package/ip/conffiles /etc/iproute2/rt_tables endef @@ -69,6 +78,10 @@ ifdef CONFIG_USE_EGLIBC endif endif +ifndef CONFIG_IPROUTE2_IP_FULL + IPROUTE2_IP_TINY:=y +endif + TARGET_CFLAGS += -ffunction-sections -fdata-sections MAKE_FLAGS += \ @@ -76,7 +89,7 @@ MAKE_FLAGS += \ KERNEL_INCLUDE="$(LINUX_DIR)/include" \ SHARED_LIBS="" \ LDFLAGS="-Wl,--gc-sections" \ - IP_CONFIG_TINY=y \ + IP_CONFIG_TINY="$(IPROUTE2_IP_TINY)" \ FPIC="" define Build/Compile -- 1.8.1.4 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
