libcap-ng: disable on avr32 which lacks TLS

libcap-ng needs TLS support, which is not available on avr32.
Also, disable reverse dependencies.

Fixes:
  http://autobuild.buildroot.net/results/73c/73c7c211a51c312bbe4eb6a540f3ad9c92c79ebe/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Samuel Martin 2013-11-22 10:26:47 +01:00 committed by Peter Korsgaard
parent 2b2c657957
commit a80e3e06ed
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBCAP_NG
bool "libcap-ng"
depends on !BR2_avr32 # lacks TLS
help
The libcap-ng library is intended to make programming with
posix capabilities much easier than the traditional libcap

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_OFONO
depends on BR2_USE_WCHAR # gettext, libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus, libglib2
depends on !BR2_avr32 # libcap-ng
select BR2_PACKAGE_LIBCAP_NG
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_LIBGLIB2
@ -15,5 +16,6 @@ config BR2_PACKAGE_OFONO
http://ofono.org/
comment "ofono needs a toolchain w/ wchar, threads"
depends on !BR2_avr32
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS