package/linux-tools: some selftests needs tput
authorRomain Naour <romain.naour@smile.fr>
Mon, 8 Apr 2019 16:43:32 +0000 (18:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 10 Apr 2019 16:47:14 +0000 (18:47 +0200)
Some kernel-selftests are using tput program, so make sure that
BR2_PACKAGE_NCURSES_TARGET_PROGS is selected.

[linux-4.19 selftests]$ git grep tput
[...]
futex/run.sh:tput setf 7 || tput setaf 7
futex/run.sh:    tput sgr0

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/linux-tools/Config.in

index 6aa09d14a3cc12043e880aee4374da84f58af56d..22204ed0906e19aa7cbc192db512f9bb6f539263 100644 (file)
@@ -83,6 +83,8 @@ config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
        depends on BR2_USE_MMU  # bash
        select BR2_PACKAGE_LINUX_TOOLS
        select BR2_PACKAGE_BASH # runtime
+       select BR2_PACKAGE_NCURSES
+       select BR2_PACKAGE_NCURSES_TARGET_PROGS # runtime (tput)
        select BR2_PACKAGE_POPT
        select BR2_PACKAGE_LIBCAP_NG
        select BR2_PACKAGE_UTIL_LINUX