Config.in 768 B

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