[Buildroot] [PATCH] gpsd: disallow profiling support with Buildroot toolchain

spdawson at gmail.com spdawson at gmail.com
Tue Jul 24 08:42:17 UTC 2012


From: Simon Dawson <spdawson at gmail.com>

The following problem was reported by Thomas Petazzoni.

If BR2_PACKAGE_GPSD_PROFILING is enabled with a Buildroot toolchain, then
gpsd fails to build. See the following for details.

  http://autobuild.buildroot.org/results/be707893f4bf0e7e964d183e4a655c5bb72d1889/build-end.log
  http://autobuild.buildroot.org/results/be707893f4bf0e7e964d183e4a655c5bb72d1889/defconfig.

The issue is that uClibc lacks the necessary infrastructure to support
profiling. This patch disallows selection of the gpsd profiling feature when
the Buildroot toolchain is selected.

Signed-off-by: Simon Dawson <spdawson at gmail.com>
---
 package/gpsd/Config.in |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index 18e21e5..6aa2deb 100644
--- a/package/gpsd/Config.in
+++ b/package/gpsd/Config.in
@@ -31,6 +31,10 @@ config BR2_PACKAGE_GPSD_OLDSTYLE
 
 config BR2_PACKAGE_GPSD_PROFILING
 	bool "profiling support"
+	depends on !BR2_TOOLCHAIN_BUILDROOT
+
+comment "profiling support not available with Buildroot toolchain"
+	depends on BR2_TOOLCHAIN_BUILDROOT
 
 config BR2_PACKAGE_GPSD_NTP_SHM
 	bool "NTP time hinting support"
-- 
1.7.9.5



More information about the buildroot mailing list