xref: /OK3568_Linux_fs/buildroot/package/wine/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_WINE_ARCH_SUPPORTS
2	bool
3	default y
4	# Wine only builds on certain architectures
5	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" || \
6	           BR2_HOSTARCH = "powerpc" || BR2_HOSTARCH = "arm" || \
7	           BR2_HOSTARCH = "aarch64"
8	# Wine has much CPU specific code and mostly makes sense on x86
9	depends on BR2_i386
10
11config BR2_PACKAGE_WINE
12	bool "wine"
13	depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
14	# Wine unconditionally builds shared libraries
15	depends on !BR2_STATIC_LIBS
16	help
17	  Wine is a compatibility layer capable of running Windows
18	  applications on Linux. Instead of simulating internal
19	  Windows logic like a virtual machine or emulator, Wine
20	  translates Windows API calls into POSIX calls on-the-fly,
21	  eliminating the performance and memory penalties of other
22	  methods.
23
24	  http://www.winehq.org
25
26comment "wine needs a toolchain w/ dynamic library"
27	depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
28	depends on BR2_STATIC_LIBS
29