sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / canfestival / Config.in
blobca949565f5a065c6331313ffef7e39fa108588ec
1 config BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS
2         bool
3         default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_arm
5 comment "canfestival needs a glibc or uClibc toolchain w/ threads and dynamic library"
6         depends on BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS
7         depends on BR2_TOOLCHAIN_USES_MUSL || \
8                 !BR2_TOOLCHAIN_HAS_THREADS || \
9                 BR2_STATIC_LIBS
11 config BR2_PACKAGE_CANFESTIVAL
12         bool "canfestival"
13         depends on BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS
14         depends on !BR2_TOOLCHAIN_USES_MUSL # sigval_t
15         depends on BR2_TOOLCHAIN_HAS_THREADS
16         depends on !BR2_STATIC_LIBS
17         help
18           CanFestival is an OpenSource CANOpen framework, licensed under
19           LGPLv2.1 and GPLv2 for some drivers (virtual_kernel, lincan and
20           copcican_comedi).
22           http://www.canfestival.org
24 if BR2_PACKAGE_CANFESTIVAL
26 choice
27         prompt "driver"
28         default BR2_PACKAGE_CANFESTIVAL_SOCKET
30 # - The AnaGate CAN(duo) [1], PeakSystem CAN [2] and CO-PCICAN [3]
31 #   drivers are not available (not packaged in Buildroot), so their
32 #   support are disabled.
33 # - The virtual_kernel driver is disabled because it uses very old
34 #   kernel APIs, that have been renamed, or marked as deprecated or
35 #   removed for a long while. The question has been raised on the
36 #   canfestival mailing list [4].
38 # [1] http://www.anagate.de/en/index.html
39 # [2] http://www.peak-system.com/linux/
40 # [3] http://www.cosateq.com/
41 # [4] http://sourceforge.net/p/canfestival/mailman/message/32519648/
43 config BR2_PACKAGE_CANFESTIVAL_VIRTUAL
44         bool "virtual"
45         help
46           Unix pipe based virtual CAN driver.
48 config BR2_PACKAGE_CANFESTIVAL_SOCKET
49         bool "socket"
50         help
51           SocketCAN (the standard mainline CAN bus interface).
53           http://developer.berlios.de/projects/socketcan/
55 config BR2_PACKAGE_CANFESTIVAL_LINCAN
56         bool "lincan"
57         help
58           Lincan driver.
60           http://www.ocera.org/download/components/WP7/lincan-0.3.3.html
62 config BR2_PACKAGE_CANFESTIVAL_CAN4LINUX
63         bool "can4linux"
64         help
65           Can4linux driver.
67           http://www.port.de/engl/canprod/hw_can4linux.html
69 endchoice
71 config BR2_PACKAGE_CANFESTIVAL_DRIVER
72         string
73         default "virtual"         if BR2_PACKAGE_CANFESTIVAL_VIRTUAL
74         default "socket"          if BR2_PACKAGE_CANFESTIVAL_SOCKET
75         default "lincan"          if BR2_PACKAGE_CANFESTIVAL_LINCAN
76         default "can4linux"       if BR2_PACKAGE_CANFESTIVAL_CAN4LINUX
78 config BR2_PACKAGE_CANFESTIVAL_ADDITIONAL_OPTIONS
79         string "additional configure options"
80         help
81           Additional options can be passed directly to the configure script
82           (e.g.: --MAX_CAN_BUS_ID=..., --SDO_MAX_LENGTH_TRANSFER=...,
83           --SDO_BLOCK_SIZE=...).
85 config BR2_PACKAGE_CANFESTIVAL_INSTALL_EXAMPLES
86         bool "install examples"
87         help
88           Install binary application examples.
90 endif