2017-02-02 23:45:03 +01:00
|
|
|
config BR2_PACKAGE_CHECKPOLICY
|
|
|
|
bool "checkpolicy"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
|
|
|
|
depends on !BR2_STATIC_LIBS # libselinux
|
2022-01-04 23:02:40 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libselinux -> libsepol
|
2017-04-22 19:17:50 +02:00
|
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
|
|
select BR2_PACKAGE_FLEX
|
2017-02-02 23:45:03 +01:00
|
|
|
help
|
|
|
|
checkpolicy is the SELinux policy compiler. It uses libsepol
|
|
|
|
to generate the binary policy. checkpolicy uses the static
|
|
|
|
libsepol since it deals with low level details of the policy
|
|
|
|
that have not been encapsulated/abstracted by a proper
|
|
|
|
shared library interface.
|
|
|
|
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
|
|
|
|
2022-01-04 23:02:40 +01:00
|
|
|
comment "checkpolicy needs a toolchain w/ threads, dynamic library, gcc >= 5"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|