summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Duskett <aduskett@gmail.com>2017-11-03 09:33:06 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-03 18:46:44 +0100
commit3947b14c68d9502fd297e9513cec015eb72fc171 (patch)
tree6645ce7b93db6e7d867bca52d6441977bacb9f55
parent6c10e40d239ec69f9d6aaaadd0a06c1f7232da7d (diff)
downloadbuildroot-3947b14c68d9502fd297e9513cec015eb72fc171.tar.gz
buildroot-3947b14c68d9502fd297e9513cec015eb72fc171.zip
libsepol: require threads
libsepol 2.7 now uses <pthread.h> Fixes: http://autobuild.buildroot.net/results/5f1c6872a395d8c6d55e2b1722730871b4daf6a3 Signed-off-by: Adam Duskett <aduskett@gmail.com> Tested-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libsepol/Config.in4
-rw-r--r--package/semodule-utils/Config.in4
2 files changed, 8 insertions, 0 deletions
diff --git a/package/libsepol/Config.in b/package/libsepol/Config.in
index f92af52072..cfa923e452 100644
--- a/package/libsepol/Config.in
+++ b/package/libsepol/Config.in
@@ -1,7 +1,11 @@
config BR2_PACKAGE_LIBSEPOL
bool "libsepol"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
help
Libsepol is the binary policy manipulation library. It doesn't
depend upon or use any of the other SELinux components.
http://selinuxproject.org/page/Main_Page
+
+comment "libsepol needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/semodule-utils/Config.in b/package/semodule-utils/Config.in
index d9cb928c4c..38e043dc2c 100644
--- a/package/semodule-utils/Config.in
+++ b/package/semodule-utils/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_SEMODULE_UTILS
bool "semodule-utils"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol
select BR2_PACKAGE_LIBSEPOL
help
semodule-utils is a package that contains tools for handling
@@ -13,3 +14,6 @@ config BR2_PACKAGE_SEMODULE_UTILS
* semodule_package - Create a SELinux policy module package.
https://github.com/SELinuxProject/selinux/wiki/Releases
+
+comment "semodule-utils needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud