X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=package%2Fnetwork%2Futils%2Fiproute2%2FMakefile;h=ab38d0e6d312bfcc31cf87ee74abc98352d9ae23;hb=eb10b13f16bfebdbda5c473c55c0520b8992b6da;hp=9575ff105617c1b39387fa54ffc20a4fa303b422;hpb=4ef1144958eefbfe8e74f571b3e8188a174e6a24;p=openwrt%2Fopenwrt.git diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 9575ff1056..ab38d0e6d3 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.4.0 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2 @@ -30,14 +30,15 @@ define Package/iproute2/Default MAINTAINER:=Russell Senior DEPENDS:= +libnl-tiny VARIANT:=$(1) + PROVIDES:=$(3) endef -define Package/ip -$(call Package/iproute2/Default,tiny,Minimal) +define Package/ip-tiny +$(call Package/iproute2/Default,tiny,Minimal,ip) CONFLICTS:=ip-full endef -Package/ip-full=$(call Package/iproute2/Default,full,Full) +Package/ip-full:=$(call Package/iproute2/Default,full,Full,ip) define Package/tc $(call Package/iproute2/Default) @@ -101,7 +102,7 @@ define Build/InstallDev $(CP) $(PKG_BUILD_DIR)/lib/libnetlink.a $(1)/usr/lib/ endef -define Package/ip/install +define Package/ip-tiny/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/bin/ endef @@ -138,7 +139,7 @@ define Package/nstat/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/misc/nstat $(1)/usr/sbin/ endef -$(eval $(call BuildPackage,ip)) +$(eval $(call BuildPackage,ip-tiny)) $(eval $(call BuildPackage,ip-full)) $(eval $(call BuildPackage,tc)) $(eval $(call BuildPackage,genl))