xref: /OK3568_Linux_fs/buildroot/package/checkpolicy/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_CHECKPOLICY
2	bool "checkpolicy"
3	depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
4	depends on !BR2_STATIC_LIBS # libselinux
5	select BR2_PACKAGE_LIBSELINUX
6	select BR2_PACKAGE_FLEX
7	help
8	  checkpolicy is the SELinux policy compiler. It uses libsepol
9	  to generate the binary policy. checkpolicy uses the static
10	  libsepol since it deals with low level details of the policy
11	  that have not been encapsulated/abstracted by a proper
12	  shared library interface.
13
14	  http://selinuxproject.org/page/Main_Page
15
16comment "checkpolicy needs a toolchain w/ threads, dynamic library"
17	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
18