kumquat-buildroot/package/smack/Config.in
Thomas Petazzoni 665e13c85e Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed
from "prefer static libraries when possible" to "use only static
libraries". The former semantic didn't make much sense, since the user
had absolutely no control/idea of which package would use static
libraries, and which packages would not. Therefore, for quite some
time, we have been starting to enforce that BR2_PREFER_STATIC_LIB
should really build everything with static libraries.

As a consequence, this patch renames BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS, and adjust the Config.in option accordingly.

This also helps preparing the addition of other options to select
shared, shared+static or just static.

Note that we have verified that this commit can be reproduced by
simply doing a global rename of BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-12-11 22:48:13 +01:00

36 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_SMACK
bool "smack"
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
help
User space programs and libraries for SMACK.
SMACK stands for Simplified Mandatory Access Control Kernel.
It is a Linux Security Module which provides a Mandatory Access
Control mechanism, aimed towards simplicity.
This package provides a library which allows applications to work
with SMACK and tools to load/unload rules from the kernel, as well
as query the policy.
SMACK requires the following kernel options to be enabled:
- CONFIG_SECURITY
- CONFIG_SECURITY_SMACK
- CONFIG_SECURITY_NETWORK
These options will be automatically enabled by Buildroot if it is
responsible for building the kernel. Otherwise, if you are building
your kernel outside of Buildroot, make sure these options are
enabled.
To activate SMACK, do not forget to add "security=smack" to your
kernel command line.
https://github.com/smack-team/smack
comment "smack needs a toolchain w/ dynamic library, threads, headers >= 3.0"
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|| !BR2_TOOLCHAIN_HAS_THREADS