1 config BR2_PACKAGE_WINE_ARCH_SUPPORTS
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
11 config BR2_PACKAGE_WINE
13 depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
14 # Wine unconditionally builds shared libraries
15 depends on !BR2_STATIC_LIBS
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
26 comment "wine needs a toolchain w/ dynamic library"
27 depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
28 depends on BR2_STATIC_LIBS