mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-05 03:13:41 +08:00
56d9b88768
Add gcc >= 5 dependency because __builtin_add_overflow is
unconditionally used since
0744fa4f53
https://github.com/SELinuxProject/selinux/releases/tag/3.3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_LIBSEPOL
|
|
bool "libsepol"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
help
|
|
Libsepol is the binary policy manipulation library. It doesn't
|
|
depend upon or use any of the other SELinux components.
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
|
|
|
if BR2_PACKAGE_LIBSEPOL
|
|
|
|
config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
|
|
int "Policy version"
|
|
default 33 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
|
|
default 32 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
|
|
default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
|
|
default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
|
|
default 29 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
|
default 28 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
|
|
default 26 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_2_6
|
|
default 25
|
|
help
|
|
The maximum SELinux policy version your kernel supports.
|
|
|
|
Here's a handy table to help you choose:
|
|
kernel version SElinux policy max version
|
|
< 2.6.x 25
|
|
>= 2.6 < 3.5 26
|
|
>= 3.5 < 3.14 28 (27 and 28 were added at the same time)
|
|
>= 3.14 < 4.3 29
|
|
>= 4.3 < 4.13 30
|
|
>= 4.13 < 5.5 31
|
|
>= 5.5 < 5.8 32
|
|
>= 5.8 33
|
|
|
|
endif
|
|
|
|
comment "libsepol needs a toolchain w/ threads, gcc >= 5"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|