summaryrefslogtreecommitdiffstats
path: root/package/sysprof
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/sysprof
parent3fed58bd509b8dbb1ea5fe088fe92eb8cd86a410 (diff)
downloadbuildroot-51788521b7467942a550cb1d077e6550a7472498.tar.gz
buildroot-51788521b7467942a550cb1d077e6550a7472498.zip
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/sysprof')
-rw-r--r--package/sysprof/Config.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/sysprof/Config.in b/package/sysprof/Config.in
index 513a32cd59..d78062aebc 100644
--- a/package/sysprof/Config.in
+++ b/package/sysprof/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SYSPROF
bool "sysprof"
select BR2_PACKAGE_LIBGLIB2
depends on BR2_USE_WCHAR # glib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
# In its util.h file, sysprof contains architecture-specific
# code
depends on BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_sh4a || BR2_sh4aeb
@@ -11,14 +12,17 @@ config BR2_PACKAGE_SYSPROF
http://sysprof.com
+if BR2_PACKAGE_SYSPROF
+
config BR2_PACKAGE_SYSPROF_GUI
bool "sysprof GUI"
- depends on BR2_PACKAGE_SYSPROF
depends on BR2_PACKAGE_LIBGTK2
select BR2_PACKAGE_LIBGLADE
select BR2_PACKAGE_GDK_PIXBUF
help
GUI for the sysprof system-wide statistical profiler.
-comment "sysprof requires a toolchain with WCHAR support"
- depends on !BR2_USE_WCHAR
+endif
+
+comment "sysprof requires a toolchain with WCHAR and threading support"
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud