smack: needs kernel headers v3.0+

smack uses symbols that are exported to userspace only since Linux kernel
commit 1dbe39424a43 (xattr.h: expose string defines to userspace).

Fixes:
http://autobuild.buildroot.net/results/7fc/7fc69002fbb37962e65e0f83384ae7a4e6eac8a9/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Baruch Siach 2014-04-24 11:56:19 +03:00 committed by Thomas Petazzoni
parent b9f0543fc8
commit 36afe6de9c

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_SMACK
bool "smack"
depends on !BR2_PREFER_STATIC_LIB # dlfcn.h
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
help
User space programs and libraries for SMACK.
@ -28,5 +29,6 @@ config BR2_PACKAGE_SMACK
https://github.com/smack-team/smack
comment "smack needs a toolchain w/ dynamic library"
comment "smack needs a toolchain w/ dynamic library, headers >= 3.0"
depends on BR2_PREFER_STATIC_LIB
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0