package/busybox: invert dependency with less
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
00805d2fb9
commit
ed231e7b8b
|
@ -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_LESS),less) \
|
||||||
$(if $(BR2_PACKAGE_LSOF),lsof) \
|
$(if $(BR2_PACKAGE_LSOF),lsof) \
|
||||||
$(if $(BR2_PACKAGE_MTD),mtd) \
|
$(if $(BR2_PACKAGE_MTD),mtd) \
|
||||||
$(if $(BR2_PACKAGE_NET_TOOLS),net-tools) \
|
$(if $(BR2_PACKAGE_NET_TOOLS),net-tools) \
|
||||||
|
|
|
@ -8,8 +8,7 @@ LESS_VERSION = 487
|
||||||
LESS_SITE = $(BR2_GNU_MIRROR)/less
|
LESS_SITE = $(BR2_GNU_MIRROR)/less
|
||||||
LESS_LICENSE = GPL-3.0+
|
LESS_LICENSE = GPL-3.0+
|
||||||
LESS_LICENSE_FILES = COPYING
|
LESS_LICENSE_FILES = COPYING
|
||||||
# Build after busybox, full-blown is better
|
LESS_DEPENDENCIES = ncurses
|
||||||
LESS_DEPENDENCIES = ncurses $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
|
||||||
|
|
||||||
define LESS_INSTALL_TARGET_CMDS
|
define LESS_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less
|
$(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less
|
||||||
|
|
Loading…
Reference in a new issue