summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/iproute2/iproute2.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index 193489d60..daa9b7935 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -33,9 +33,10 @@ $(IPROUTE2_DIR)/$(IPROUTE2_BINARY): $(IPROUTE2_DIR)/.configured
CC=$(TARGET_CC) \
AR=$(TARGET_CROSS)ar \
NETEM_DIST="" \
- SUBDIRS="lib tc"
+ SUBDIRS="lib tc ip"
$(TARGET_DIR)/$(IPROUTE2_TARGET_BINARY): $(IPROUTE2_DIR)/$(IPROUTE2_BINARY)
+ install -Dc $(IPROUTE2_DIR)/ip/ip $(TARGET_DIR)/sbin/ip
install -Dc $(IPROUTE2_DIR)/$(IPROUTE2_BINARY) $(TARGET_DIR)/$(IPROUTE2_TARGET_BINARY)
iproute2: $(TARGET_DIR)/$(IPROUTE2_TARGET_BINARY)