881845f5fc
libselinux causes some build problems due to the toolchain on ARC, which haven't been solved so far. As a temporary solution for Buildroot 2015.08, this commit makes libselinux (and its reverse dependencies) unavailable on ARC. Of course, once the toolchain problem is addressed, this commit can be reverted to re-enable libselinux on ARC. Fixes: http://autobuild.buildroot.org/results/220/2207f6aad44a6988bf07b02b583b6418ad930dc8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
864 B
Plaintext
23 lines
864 B
Plaintext
config BR2_PACKAGE_LIBSELINUX
|
|
bool "libselinux"
|
|
select BR2_PACKAGE_LIBSEPOL
|
|
select BR2_PACKAGE_PCRE
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS
|
|
# Toolchain issue: "fixup not contained within frag"
|
|
depends on !BR2_arc
|
|
help
|
|
libselinux is the runtime SELinux library that provides
|
|
interfaces (e.g. library functions for the SELinux kernel
|
|
APIs like getcon(), other support functions like
|
|
getseuserbyname()) to SELinux-aware applications. libselinux
|
|
may use the shared libsepol to manipulate the binary policy
|
|
if necessary (e.g. to downgrade the policy format to an
|
|
older version supported by the kernel) when loading policy.
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
|
|
|
comment "libselinux needs a toolchain w/ threads, dynamic library"
|
|
depends on !BR2_arc
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|