diff mbox

gpsd: disallow NMEA2000 CAN driver on AVR32

Message ID 1392981186-16080-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit f7d43f93bb7bec840506cd28faf81e619a0fe28d
Headers show

Commit Message

Thomas Petazzoni Feb. 21, 2014, 11:13 a.m. UTC
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>
---
 package/gpsd/Config.in | 3 +++
 1 file changed, 3 insertions(+)

Comments

Peter Korsgaard Feb. 21, 2014, 11:44 a.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > 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>

Committed, thanks.
diff mbox

Patch

diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index 00a8a13..fbbf7a9 100644
--- a/package/gpsd/Config.in
+++ b/package/gpsd/Config.in
@@ -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