summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-07-24 13:34:32 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-24 18:32:11 +0200
commit23c9aeccde52d30c26d92866be0b094793aba712 (patch)
treef9b5bcc2aab09580d8eb150bc7b67d7179739609 /package
parentf66236e0a9e18045cb1566bc368368de5a5cc499 (diff)
downloadbuildroot-novena-23c9aeccde52d30c26d92866be0b094793aba712.tar.gz
buildroot-novena-23c9aeccde52d30c26d92866be0b094793aba712.zip
gpsd: disallow profiling support with uClibc toolchain
The following problem was reported by Thomas Petazzoni. If BR2_PACKAGE_GPSD_PROFILING is enabled with a uClibc-based 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 a uClibc-based toolchain is selected. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/gpsd/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index 18e21e5af..db6bec2d7 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 && !BR2_TOOLCHAIN_CTNG_uClibc && !BR2_TOOLCHAIN_EXTERNAL_UCLIBC
+
+comment "profiling support not available with uClibc-based toolchain"
+ depends on BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_CTNG_uClibc || BR2_TOOLCHAIN_EXTERNAL_UCLIBC
config BR2_PACKAGE_GPSD_NTP_SHM
bool "NTP time hinting support"