xref: /OK3568_Linux_fs/buildroot/package/openpowerlink/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "openpowerlink needs a toolchain w/ C++, threads"
2	depends on BR2_i386 || BR2_x86_64
3	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
4
5config BR2_PACKAGE_OPENPOWERLINK
6	bool "openpowerlink"
7	depends on BR2_INSTALL_LIBSTDCPP
8	depends on BR2_TOOLCHAIN_HAS_THREADS
9	depends on BR2_i386 || BR2_x86_64
10	help
11	  openPOWERLINK is an Open Source Industrial Ethernet stack
12	  implementing the POWERLINK protocol for Managing Node (MN,
13	  POWERLINK Master) and Controlled Node (CN, POWERLINK Slave).
14
15	  It is provided by
16	  SYSTEC electronic (http://www.systec-electronic.com),
17	  B&R (http://www.br-automation.com) and
18	  Kalycito (http://www.kalycito.com).
19
20	  http://openpowerlink.sourceforge.net/web/
21
22if BR2_PACKAGE_OPENPOWERLINK
23
24choice
25	prompt "MN/CN mode"
26
27config BR2_PACKAGE_OPENPOWERLINK_MN
28	bool "Managing Node"
29	help
30	  Enable Managing Node (master) mode
31
32config BR2_PACKAGE_OPENPOWERLINK_CN
33	bool "Controlled Node"
34	help
35	  Enable Controlled Node (slave) mode
36
37endchoice
38
39choice
40	prompt "stack type"
41
42config BR2_PACKAGE_OPENPOWERLINK_STACK_MONOLITHIC_USER_STACK_LIB
43	bool "linked into application"
44	select BR2_PACKAGE_LIBPCAP
45	help
46	  Compile a monolithic openPOWERLINK library. The library
47	  contains an Ethernet driver which is using the PCAP library
48	  for accessing the network. No kernel-side driver is needed.
49
50config BR2_PACKAGE_OPENPOWERLINK_STACK_USERSPACE_DAEMON_LIB
51	bool "user-space pcap daemon"
52	select BR2_PACKAGE_LIBPCAP
53	help
54	  Compile openPOWERLINK application library which contains the
55	  interface to a Linux user space driver, and the Linux user
56	  space driver. It is used for implementing a multi-process
57	  solution where the openPOWERLINK layer is running as a
58	  separate Linux user space daemon (i.e. a PCAP based user
59	  space daemon).  No kernel-side stack is needed.
60
61config BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB
62	bool "kernel-space driver"
63	depends on BR2_LINUX_KERNEL
64	help
65	  Compile openPOWERLINK application library which contains the
66	  interface to a Linux kernel space driver. This will also
67	  build and install a Linux kernel module openPOWERLINK
68	  driver.
69
70config BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_PCIE_STACK_LIB
71	bool "kernel-space PCIe driver"
72	depends on BR2_LINUX_KERNEL
73	depends on BR2_PACKAGE_OPENPOWERLINK_MN # MN support only
74	help
75	  Compile openPOWERLINK application library which contains the
76	  interface to a Linux kernel PCIe interface driver. The kernel
77	  part of the openPOWERLINK stack is located on an external PCIe
78	  device. The status/control and data exchange between the
79	  application and kernel stack is handled by the PCIe interface
80	  driver.
81
82comment "openpowerlink kernel stack needs a Linux kernel to be built"
83	depends on !BR2_LINUX_KERNEL
84
85endchoice
86
87if BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB
88
89menu "Ethernet drivers"
90
91config BR2_PACKAGE_OPENPOWERLINK_KERNEL_DRIVER_82573
92	bool "Intel 82573"
93	default y
94
95config BR2_PACKAGE_OPENPOWERLINK_KERNEL_DRIVER_8255x
96	bool "Intel 8255x"
97
98config BR2_PACKAGE_OPENPOWERLINK_KERNEL_DRIVER_I210
99	bool "Intel I210"
100
101config BR2_PACKAGE_OPENPOWERLINK_KERNEL_DRIVER_RTL8111
102	bool "Realtek RTL-8111/8168"
103
104config BR2_PACKAGE_OPENPOWERLINK_KERNEL_DRIVER_RTL8139
105	bool "Realtek RTL-8139"
106
107endmenu
108
109endif # BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB
110
111config BR2_PACKAGE_OPENPOWERLINK_KERNEL_PCIE_DRIVER
112	bool "PCIe Powerlink Driver"
113	depends on BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_PCIE_STACK_LIB
114
115menu "demos"
116
117config BR2_PACKAGE_OPENPOWERLINK_DEMO_MN_CONSOLE
118	bool "console MN demo"
119	depends on BR2_PACKAGE_OPENPOWERLINK_MN
120
121config BR2_PACKAGE_OPENPOWERLINK_DEMO_CN_CONSOLE
122	bool "console CN demo"
123	depends on BR2_PACKAGE_OPENPOWERLINK_CN
124
125endmenu
126
127endif # BR2_PACKAGE_OPENPOWERLINK
128