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