Fixes http://autobuild.buildroot.net/results/cce/cceb1ccacec36fb7ef41bb7cdb13b3014813b599/ XATTR_NAME_CAPS appears in kernel headers since 3.7: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/include/uapi/linux/xattr.h?id=v3.7 Before it was an internal define of the kernel: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/xattr.h?id=607ca46e97a1b6594b29647d98a32d545c24bdff Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
885 B
Plaintext
29 lines
885 B
Plaintext
config BR2_PACKAGE_LIBCAP
|
|
bool "libcap"
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
|
help
|
|
This library implements the user-space interfaces to the
|
|
POSIX 1003.1e capabilities available in Linux kernels. These
|
|
capabilities are a partitioning of the all powerful root
|
|
privilege into a set of distinct privileges.
|
|
|
|
http://sites.google.com/site/fullycapable/
|
|
|
|
if BR2_PACKAGE_LIBCAP
|
|
|
|
config BR2_PACKAGE_LIBCAP_TOOLS
|
|
bool "install tools"
|
|
depends on BR2_USE_MMU
|
|
help
|
|
Install setcap, getcap, getpcaps and capsh tools.
|
|
|
|
For these tools to run properly, you should enable, in your
|
|
kernel configuration, extended file attributes/security labels
|
|
support for the file system type used on target system (e.g.
|
|
CONFIG_EXT2_FS_XATTR and CONFIG_EXT2_FS_SECURITY for ext2).
|
|
|
|
endif
|
|
|
|
comment "libcap needs headers >= 3.7"
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|