gpsd: fix nmea2000 build failure
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 16 Oct 2012 02:33:19 +0000 (02:33 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 16 Oct 2012 21:17:41 +0000 (23:17 +0200)
NMEA2000 seems to require NAVCOM for some odd reason.
Fixes
http://autobuild.buildroot.net/results/91ddc286f6a92498f96aba7d312f82d5c77a689a/build-end.log
Also do a correct sort of protocol config options.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gpsd/Config.in

index a11c553a400118bd5b3a9dc0a07d28f799f6ce78..69f63f9ea74496c750105af7a11511c74e7ae7bd 100644 (file)
@@ -91,16 +91,16 @@ endmenu
 menu "Protocols"
        depends on BR2_PACKAGE_GPSD
 
-config BR2_PACKAGE_GPSD_ASHTECH
-       bool "Ashtech"
-       help
-         Ashtech support
-
 config BR2_PACKAGE_GPSD_AIVDM
        bool "Aivdm"
        help
          Aivdm support
 
+config BR2_PACKAGE_GPSD_ASHTECH
+       bool "Ashtech"
+       help
+         Ashtech support
+
 config BR2_PACKAGE_GPSD_EARTHMATE
        bool "Earthmate"
        help
@@ -151,27 +151,28 @@ config BR2_PACKAGE_GPSD_MTK3301
        help
          Mediatek MTK-3301 support
 
+config BR2_PACKAGE_GPSD_NAVCOM
+       bool "Navcom"
+       help
+         Navcom binary support
+
 config BR2_PACKAGE_GPSD_NMEA
        bool "NMEA"
        default y
        help
          Generic NMEA support
 
+config BR2_PACKAGE_GPSD_NMEA2000
+       bool "NMEA2000"
+       select BR2_PACKAGE_GPSD_NAVCOM
+       help
+         NMEA2000/CAN support
+
 config BR2_PACKAGE_GPSD_NTRIP
        bool "NTRIP"
        help
          NTRIP support
 
-config BR2_PACKAGE_GPSD_NAVCOM
-       bool "Navcom"
-       help
-         Navcom binary support
-
-config BR2_PACKAGE_GPSD_NMEA2000
-       bool "nmea2000"
-       help
-         NMEA2000/CAN support
-
 config BR2_PACKAGE_GPSD_OCEANSERVER
        bool "OceanServer"
        help