package/linux-tools: selftests depend on !static
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 29 Oct 2019 20:40:17 +0000 (21:40 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 1 Nov 2019 07:20:10 +0000 (08:20 +0100)
The indirect dependency through kmod was not tracked.

Detected with randconfig.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/linux-tools/Config.in

index 1c660f76f545080d05dfcc4c67d60521833ae21c..ab8cc3891c605e9ab64d177d8ea34b7f79c4ff5d 100644 (file)
@@ -82,6 +82,7 @@ config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
        bool"selftests"
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
        depends on BR2_USE_MMU  # bash
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_LINUX_TOOLS
        select BR2_PACKAGE_BASH # runtime
        select BR2_PACKAGE_NCURSES
@@ -103,9 +104,9 @@ config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
          This is very much a use at your risk option and may not work
          for every setup or every architecture.
 
-comment "selftests needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS"
+comment "selftests needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS and a toolchain w/ dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+       depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_LINUX_TOOLS_TMON
        bool "tmon"