summaryrefslogtreecommitdiffstats
path: root/package/net-tools/net-tools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/net-tools/net-tools.mk')
-rw-r--r--package/net-tools/net-tools.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/package/net-tools/net-tools.mk b/package/net-tools/net-tools.mk
index adab475b35..985fe2e35e 100644
--- a/package/net-tools/net-tools.mk
+++ b/package/net-tools/net-tools.mk
@@ -10,11 +10,6 @@ NET_TOOLS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
NET_TOOLS_LICENSE = GPL-2.0+
NET_TOOLS_LICENSE_FILES = COPYING
-# Install after busybox for the full-blown versions
-ifeq ($(BR2_PACKAGE_BUSYBOX),y)
-NET_TOOLS_DEPENDENCIES += busybox
-endif
-
define NET_TOOLS_CONFIGURE_CMDS
(cd $(@D); yes "" | ./configure.sh config.in )
endef
@@ -40,7 +35,8 @@ define NET_TOOLS_BUILD_CMDS
endef
# install renames conflicting binaries, update does not
-# ifconfig & route reside in /sbin for busybox
+# ifconfig & route reside in /sbin for busybox, so ensure we don't end
+# up with two versions of those.
define NET_TOOLS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) update
mv -f $(TARGET_DIR)/bin/ifconfig $(TARGET_DIR)/sbin/ifconfig
OpenPOWER on IntegriCloud