summaryrefslogtreecommitdiff
path: root/package/neard
diff options
context:
space:
mode:
authorSpenser Gilliland <spenser@gillilanding.com>2013-07-15 14:47:50 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-27 17:13:37 +0200
commit51788521b7467942a550cb1d077e6550a7472498 (patch)
tree9948eacc6e23b4cd444d96f2693b0cc56e9a6955 /package/neard
parent3fed58bd509b8dbb1ea5fe088fe92eb8cd86a410 (diff)
libglib2: needs threads
This commit adds a dependency of the libglib2 package on thread support in the toolchain, since upstream libglib2 doesn't build without thread support. The commit is rather large as it involves propagating the dependency on thread support to all reverse dependencies of the libglib2 package. [Thomas: squash all patches into one, make a few minor fixes, the most important one being to not add comments about MMU requirement when a package doesn't work on !MMU platforms.] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Diffstat (limited to 'package/neard')
-rw-r--r--package/neard/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/neard/Config.in b/package/neard/Config.in
index ec1fcb302..97966da2a 100644
--- a/package/neard/Config.in
+++ b/package/neard/Config.in
@@ -1,7 +1,7 @@
config BR2_PACKAGE_NEARD
bool "neard"
depends on BR2_USE_WCHAR # libglib2
- depends on BR2_TOOLCHAIN_HAS_THREADS # libnl / dbus
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libnl, dbus, libglib2
depends on BR2_USE_MMU # dbus
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_LIBGLIB2
@@ -14,11 +14,14 @@ config BR2_PACKAGE_NEARD
https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
+if BR2_PACKAGE_NEARD
+
config BR2_PACKAGE_NEARD_TOOLS
bool "neard tools"
- depends on BR2_PACKAGE_NEARD
help
Build and install neard tools.
+endif
+
comment "neard requires a toolchain with WCHAR and threads support"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS