gpsd: do not allow profiling support on AArch64
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 28 Nov 2013 09:18:07 +0000 (10:18 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Nov 2013 14:14:58 +0000 (15:14 +0100)
The profiling support is not available on AArch64, causing build
failures such as:

  http://autobuild.buildroot.net/results/724f8646e1c2c28cf187f2313244d1e3e61b4c25/

According to Will Newton, function profiling will only be added in the
next version of the AArch64 Linaro toolchain. This indicates it is a
rather new feature in AArch64, so for the moment, just disallow
profiling on AArch64. We can revise this later, when this feature has
been made available in Linaro toolchains, and official gcc releases
(for internal toolchain support).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gpsd/Config.in

index 5b007d7df302a83522def95b54335c535b3d7c3e..2fd97d00d4c832a92c247fa9aacf7fa0efd679e6 100644 (file)
@@ -34,6 +34,7 @@ config BR2_PACKAGE_GPSD_OLDSTYLE
 config BR2_PACKAGE_GPSD_PROFILING
        bool "profiling support"
        depends on BR2_TOOLCHAIN_USES_GLIBC
+       depends on !BR2_aarch64
 
 comment "profiling support not available with uClibc-based toolchain"
        depends on !BR2_TOOLCHAIN_USES_GLIBC