kumquat-buildroot/package/sepolgen/Config.in
Adam Duskett 86dcd0e6fe sepolgen: allow compiling for target
Sepolgen is currently a host-only package, however it is a dependency
of audit2allow.  This patch allows for sepolgen to be compiled for the
target.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - fix formatting of Config.in file
 - add missing dependencies inherited from the fact that the package
   selects python3.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-09 14:54:30 +02:00

20 lines
752 B
Plaintext

config BR2_PACKAGE_SEPOLGEN
bool "sepolgen"
select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
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
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