package/busybox: invert dependency with less
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jul 2018 09:45:52 +0000 (11:45 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 8 Jul 2018 11:08:04 +0000 (13:08 +0200)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/busybox/busybox.mk
package/less/less.mk

index cb629892cdd5798cbc141bc8a55083ea006fc874..95fea18b5081aa8a11395668640cdaf9d3b66b69 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_LESS),less) \
        $(if $(BR2_PACKAGE_LSOF),lsof) \
        $(if $(BR2_PACKAGE_MTD),mtd) \
        $(if $(BR2_PACKAGE_NET_TOOLS),net-tools) \
index bccc08b89ff3e341b9531807cedfc253d0d249ec..ef3643c0aa9ab9e682603cf8000a2d1a111227a9 100644 (file)
@@ -8,8 +8,7 @@ LESS_VERSION = 487
 LESS_SITE = $(BR2_GNU_MIRROR)/less
 LESS_LICENSE = GPL-3.0+
 LESS_LICENSE_FILES = COPYING
-# Build after busybox, full-blown is better
-LESS_DEPENDENCIES = ncurses $(if $(BR2_PACKAGE_BUSYBOX),busybox)
+LESS_DEPENDENCIES = ncurses
 
 define LESS_INSTALL_TARGET_CMDS
        $(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less