config BR2_PACKAGE_SEPOLGEN
	bool "sepolgen"
	depends on BR2_USE_WCHAR # python3
	depends on BR2_USE_MMU # python3
	depends on BR2_TOOLCHAIN_HAS_THREADS # python3
	depends on !BR2_STATIC_LIBS # python3
	select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
	help
	  This package contains a Python module that forms the core of
	  the modern audit2allow (which is a part of the package
	  policycoreutils).  It contains infrastructure for parsing
	  SELinux related messages as produced by the audit system.
	  It has facilities for generating policy based on required
	  access.

comment "sepolgen needs a toolchain w/ wchar, threads, dynamic library"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
		BR2_STATIC_LIBS
