config BR2_PACKAGE_SEMODULE_UTILS
	bool "semodule-utils"
	depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol
	select BR2_PACKAGE_LIBSEPOL
	help
	  semodule-utils is a package that contains tools for handling
	  selinux modules.

	  The package will install the following utilities:
	  * semodule_deps - Show the dependencies between SELinux
	    policy packages.
	  * semodule_expand - Expand a SELinux policy module package.
	  * semodule_link - Link SELinux policy module packages together
	  * semodule_package - Create a SELinux policy module package.

	  https://github.com/SELinuxProject/selinux/wiki/Releases

comment "semodule-utils needs a toolchain w/ threads, gcc >= 5"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_5