gpsd: disallow NMEA2000 CAN driver on AVR32
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 21 Feb 2014 11:13:06 +0000 (12:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 21 Feb 2014 11:43:52 +0000 (12:43 +0100)
AVR32 is using uClibc 0.9.31, which lacks some CAN related definitions
that prevent the gpsd nmea2000 driver from building.

The rest of gpsd, with all options and drivers enabled, builds fine on
AVR32.

Fixes:

  http://autobuild.buildroot.org/results/ee2/ee2ec848e893f08fa80caf99a67e68b73b6400e8/

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

index 00a8a13eac39077fc01dbbcdccc863d208557ac2..fbbf7a9ca3e06a58e29c46887afdc071dda150eb 100644 (file)
@@ -174,6 +174,9 @@ config BR2_PACKAGE_GPSD_NMEA2000
        bool "NMEA2000"
        select BR2_PACKAGE_GPSD_NAVCOM
        select BR2_PACKAGE_GPSD_AIVDM
+       # uClibc 0.9.31, used on AVR32, does not have the necessary
+       # CAN definitions.
+       depends on !BR2_avr32
        help
          NMEA2000/CAN support