86dcd0e6fe
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>
20 lines
752 B
Plaintext
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
|