package/coremark-pro: add dependency on threads
authorChris Packham <judge.packham@gmail.com>
Mon, 11 Jan 2021 09:13:53 +0000 (22:13 +1300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 11 Jan 2021 21:21:41 +0000 (22:21 +0100)
Coremark-pro requires threads so add a depends on
BR2_TOOLCHAIN_HAS_THREADS.

Fixes:
- http://autobuild.buildroot.net/results/ab574485a7856fcf5cd643c154c44b4bfcb34a97/

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/coremark-pro/Config.in

index dd6821056c56d82dcc96626610d2b03f83e289d7..b0bf16f66f1e99ca23d5bd291d4fce0919e5ffd6 100644 (file)
@@ -1,8 +1,13 @@
 config BR2_PACKAGE_COREMARK_PRO
        bool "coremark-pro"
        depends on BR2_USE_MMU # perl uses fork()
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_PERL
        help
          CoreMark-PRO is a comprehensive, advanced processor benchmark.
 
          https://www.eembc.org/coremark-pro/
+
+comment "coremark-pro needs a toolchain w/ threads"
+       depends on BR2_USE_MMU
+       depends on !BR2_TOOLCHAIN_HAS_THREADS