|
|
@ -22,23 +22,29 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI |
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
|
|
|
|
|
|
define Package/iproute2/Default |
|
|
|
define Package/iproute2/Default |
|
|
|
TITLE:=Routing control utility ($(2))
|
|
|
|
|
|
|
|
SECTION:=net
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
CATEGORY:=Network
|
|
|
|
URL:=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
|
|
|
|
URL:=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
|
|
|
|
SUBMENU:=Routing and Redirection
|
|
|
|
SUBMENU:=Routing and Redirection
|
|
|
|
MAINTAINER:=Russell Senior <russell@personaltelco.net>
|
|
|
|
MAINTAINER:=Russell Senior <russell@personaltelco.net>
|
|
|
|
DEPENDS:= +libnl-tiny
|
|
|
|
DEPENDS:= +libnl-tiny
|
|
|
|
VARIANT:=$(1)
|
|
|
|
|
|
|
|
PROVIDES:=$(3)
|
|
|
|
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/ip-tiny |
|
|
|
define Package/ip-tiny |
|
|
|
$(call Package/iproute2/Default,tiny,Minimal,ip) |
|
|
|
$(call Package/iproute2/Default) |
|
|
|
CONFLICTS:=ip-full
|
|
|
|
TITLE:=Routing control utility (Minimal)
|
|
|
|
|
|
|
|
VARIANT:=tiny
|
|
|
|
|
|
|
|
PROVIDES:=ip
|
|
|
|
|
|
|
|
ALTERNATIVES:=200:/sbin/ip:/sbin/ip-tiny
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
Package/ip-full:=$(call Package/iproute2/Default,full,Full,ip) |
|
|
|
define Package/ip-full |
|
|
|
|
|
|
|
$(call Package/iproute2/Default) |
|
|
|
|
|
|
|
TITLE:=Routing control utility (Full)
|
|
|
|
|
|
|
|
VARIANT:=full
|
|
|
|
|
|
|
|
PROVIDES:=ip
|
|
|
|
|
|
|
|
ALTERNATIVES:=300:/sbin/ip:/sbin/ip-full
|
|
|
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/tc |
|
|
|
define Package/tc |
|
|
|
$(call Package/iproute2/Default) |
|
|
|
$(call Package/iproute2/Default) |
|
|
@ -103,13 +109,13 @@ define Build/InstallDev |
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/ip-tiny/install |
|
|
|
define Package/ip-tiny/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/sbin/ip-tiny
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/ip-full/install |
|
|
|
define Package/ip-full/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/sbin/ip-full
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/tc/install |
|
|
|
define Package/tc/install |
|
|
|