package/busybox: invert dependency with traceroute
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
faa21d4d22
commit
0ed60ad566
|
@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
|
||||||
|
|
||||||
# Packages that provide commands that may also be busybox applets:
|
# Packages that provide commands that may also be busybox applets:
|
||||||
BUSYBOX_DEPENDENCIES = \
|
BUSYBOX_DEPENDENCIES = \
|
||||||
|
$(if $(BR2_PACKAGE_TRACEROUTE),traceroute) \
|
||||||
$(if $(BR2_PACKAGE_UNZIP),unzip) \
|
$(if $(BR2_PACKAGE_UNZIP),unzip) \
|
||||||
$(if $(BR2_PACKAGE_USBUTILS),usbutils) \
|
$(if $(BR2_PACKAGE_USBUTILS),usbutils) \
|
||||||
$(if $(BR2_PACKAGE_UTIL_LINUX),util-linux) \
|
$(if $(BR2_PACKAGE_UTIL_LINUX),util-linux) \
|
||||||
|
|
|
@ -10,11 +10,6 @@ TRACEROUTE_SITE = http://downloads.sourceforge.net/traceroute/traceroute/tracero
|
||||||
TRACEROUTE_LICENSE = GPL-2.0+, LGPL-2.1+
|
TRACEROUTE_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||||
TRACEROUTE_LICENSE_FILES = COPYING COPYING.LIB
|
TRACEROUTE_LICENSE_FILES = COPYING COPYING.LIB
|
||||||
|
|
||||||
# Prefer full-featured traceroute over busybox's version
|
|
||||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
||||||
TRACEROUTE_DEPENDENCIES += busybox
|
|
||||||
endif
|
|
||||||
|
|
||||||
define TRACEROUTE_BUILD_CMDS
|
define TRACEROUTE_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
||||||
|
|
Loading…
Reference in a new issue