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