summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2016-06-07 20:43:01 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-07 21:31:55 +0200
commitcc1411d0b1b159e208d141fb4ba3c6f3508e1336 (patch)
tree69406e86137248013ee88bd4b7242cd4655a93ec
parentf50e2b9fba33db11dca9d016907a62cfa9b2c2a1 (diff)
downloadbuildroot-cc1411d0b1b159e208d141fb4ba3c6f3508e1336.tar.gz
buildroot-cc1411d0b1b159e208d141fb4ba3c6f3508e1336.zip
wiringpi: needs threads
Fixes [1]: wiringPi.c:66:21: fatal error: pthread.h: No such file or directory [1] http://autobuild.buildroot.net/results/4e1/4e17697c1116b418d8d9c07a202f3c89186e463f Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/wiringpi/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/wiringpi/Config.in b/package/wiringpi/Config.in
index a292b3f5ff..2062a6208e 100644
--- a/package/wiringpi/Config.in
+++ b/package/wiringpi/Config.in
@@ -1,7 +1,12 @@
config BR2_PACKAGE_WIRINGPI
bool "wiringpi"
depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
wiringPi libraries (and gpio command)
http://wiringpi.com/
+
+comment "wiringpi needs a toolchain w/ threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud