iproute2: ensure it gets built after busybox if both enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Jan 2011 14:46:50 +0000 (15:46 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Jan 2011 14:46:50 +0000 (15:46 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/iproute2/iproute2.mk

index c3e96509d615f3c4d9e188b1f33ff8fbb93464ca..dfb841063ad8f6184dc3a44a10f0c80cfefa2a19 100644 (file)
@@ -9,6 +9,12 @@ IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.bz2
 IPROUTE2_SITE = http://devresources.linuxfoundation.org/dev/iproute2/download
 IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct rtmon rtpr rtstat ss tc
 
+# If both iproute2 and busybox are selected, make certain we win
+# the fight over who gets to have their utils actually installed.
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+IPROUTE2_DEPENDENCIES += busybox
+endif
+
 # If we've got iptables enable xtables support for tc
 ifeq ($(BR2_PACKAGE_IPTABLES),y)
 IPROUTE2_DEPENDENCIES += iptables