Bump buildroot to 2019.02
This commit is contained in:
@@ -8,13 +8,13 @@ menuconfig BR2_PACKAGE_MESA3D
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_HAS_LIBGL if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_XPROTO_DRI2PROTO if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XPROTO_GLPROTO if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XPROTO_XF86DRIPROTO if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XORGPROTO if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXXF86VM if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
@@ -25,6 +25,43 @@ menuconfig BR2_PACKAGE_MESA3D
|
||||
|
||||
if BR2_PACKAGE_MESA3D
|
||||
|
||||
# Some Gallium driver needs libelf when built with LLVM support
|
||||
config BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_MESA3D_LLVM
|
||||
bool "llvm support"
|
||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_WCHAR # std::wstring
|
||||
select BR2_PACKAGE_LLVM
|
||||
|
||||
comment "llvm support needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, host gcc >= 4.8, dynamic library"
|
||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
||||
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
||||
|
||||
comment "llvm support needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
|
||||
# clang and libclc dependencies are satisfied by
|
||||
# BR2_PACKAGE_MESA3D_LLVM
|
||||
config BR2_PACKAGE_MESA3D_OPENCL
|
||||
bool "OpenCL support"
|
||||
depends on BR2_PACKAGE_MESA3D_LLVM
|
||||
depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 || \
|
||||
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
|
||||
select BR2_PACKAGE_CLANG
|
||||
select BR2_PACKAGE_LIBCLC
|
||||
select BR2_PACKAGE_HAS_LIBOPENCL
|
||||
|
||||
# inform the .mk file of gallium, dri or vulkan driver selection
|
||||
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
||||
bool
|
||||
@@ -33,15 +70,8 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
||||
config BR2_PACKAGE_MESA3D_DRI_DRIVER
|
||||
bool
|
||||
select BR2_PACKAGE_MESA3D_DRIVER
|
||||
# xlib-libxshmfence needs sync_4, so we cannot select it if
|
||||
# BR2_TOOLCHAIN_HAS_SYNC_4 is false. xproto-presentproto
|
||||
# doesn't need sync_4, but it is only needed in conjunction
|
||||
# with xlib-libxshmfence and dri3proto to provide dri3
|
||||
# support, so we also only select it if sync_4 is available.
|
||||
select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
|
||||
(BR2_PACKAGE_XPROTO_DRI3PROTO && BR2_TOOLCHAIN_HAS_SYNC_4)
|
||||
select BR2_PACKAGE_XPROTO_PRESENTPROTO if \
|
||||
(BR2_PACKAGE_XPROTO_DRI3PROTO && BR2_TOOLCHAIN_HAS_SYNC_4)
|
||||
(BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4)
|
||||
|
||||
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER
|
||||
bool
|
||||
@@ -75,12 +105,45 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
|
||||
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
|
||||
bool "Gallium Radeon R600 driver"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on !BR2_PACKAGE_MESA3D_LLVM || \
|
||||
(BR2_PACKAGE_MESA3D_LLVM && (BR2_TOOLCHAIN_USES_UCLIBC || \
|
||||
BR2_TOOLCHAIN_USES_GLIBC)) # elfutils
|
||||
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
||||
select BR2_PACKAGE_LIBDRM_RADEON
|
||||
select BR2_PACKAGE_LLVM_AMDGPU if BR2_PACKAGE_MESA3D_LLVM
|
||||
select BR2_PACKAGE_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM
|
||||
select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM
|
||||
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
||||
help
|
||||
Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
|
||||
|
||||
# R600 needs libelf when Mesa3D is built with LLVM support
|
||||
# musl is not currently compatible with elfutils
|
||||
comment "R600 driver needs a uClibc or glibc toolchain when llvm is enabled"
|
||||
depends on BR2_PACKAGE_MESA3D_LLVM
|
||||
depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
||||
|
||||
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
|
||||
bool "Gallium Radeon SI driver"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_PACKAGE_MESA3D_LLVM
|
||||
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
|
||||
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
||||
select BR2_PACKAGE_LIBDRM_AMDGPU
|
||||
select BR2_PACKAGE_LIBDRM_RADEON
|
||||
select BR2_PACKAGE_LLVM_AMDGPU
|
||||
select BR2_PACKAGE_ELFUTILS
|
||||
select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS
|
||||
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
||||
help
|
||||
Driver for ATI/AMD Radeon HD7000/HD8000/Rx200 GPUs.
|
||||
|
||||
# Radeon SI needs libelf
|
||||
# musl is not currently compatible with elfutils
|
||||
comment "Radeon SI driver needs a uClibc or glibc toolchain"
|
||||
depends on BR2_PACKAGE_MESA3D_LLVM
|
||||
depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
||||
|
||||
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
|
||||
bool "Gallium vmware svga driver"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
@@ -136,11 +199,16 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
|
||||
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
|
||||
bool "DRI i965 driver"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
|
||||
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
||||
select BR2_PACKAGE_LIBDRM_INTEL
|
||||
help
|
||||
Support for i965-based Intel GPUs.
|
||||
|
||||
comment "DRI i965 driver needs a toolchain w/ headers >= 3.17"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|
||||
|
||||
config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
|
||||
bool "DRI nouveau driver"
|
||||
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
||||
@@ -160,17 +228,20 @@ comment "Vulkan drivers"
|
||||
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL
|
||||
bool "Vulkan Intel driver"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # memfd.h
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libxshmfence
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert
|
||||
depends on BR2_PACKAGE_XORG7 # xproto_dri3proto
|
||||
depends on BR2_PACKAGE_XORG7 # xorgproto
|
||||
select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
|
||||
select BR2_PACKAGE_XPROTO_DRI3PROTO
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
select BR2_PACKAGE_XLIB_LIBXSHMFENCE
|
||||
help
|
||||
Vulkan driver for Intel hardware from Ivy Bridge onward.
|
||||
|
||||
comment "intel vulkan depends on X.org and needs a glibc toolchain w/ headers >= 3.18"
|
||||
comment "intel vulkan depends on X.org and needs a glibc toolchain w/ headers >= 3.17"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 || \
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || \
|
||||
!BR2_TOOLCHAIN_USES_GLIBC || !BR2_PACKAGE_XORG7
|
||||
|
||||
comment "Off-screen Rendering"
|
||||
@@ -200,29 +271,6 @@ config BR2_PACKAGE_MESA3D_OPENGL_ES
|
||||
Use the Khronos OpenGL ES APIs. This is commonly used on
|
||||
embedded systems and represents a subset of the OpenGL API.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_OPENGL_TEXTURE_FLOAT
|
||||
bool "OpenGL texture float (patented format)"
|
||||
help
|
||||
GL_ARB_texture_float is required to enable GLX core profile
|
||||
(OpenGL3.x) otherwise the compat profile is used
|
||||
(OpenGL2.1).
|
||||
|
||||
The source code to implement ARB_texture_float extension is
|
||||
included and can be toggled on at compile time, for those
|
||||
who purchased a license from SGI, or are in a country where
|
||||
the patent does not apply, etc.
|
||||
|
||||
Please consult docs/patents.txt with your lawyer before
|
||||
building Mesa.
|
||||
|
||||
Also, note that this option doesn't affect all drivers. Some
|
||||
drivers have support for texture float enabled
|
||||
unconditionally.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
http://www.google.com/patents/about?id=mIIOAAAAEBAJ&dq=6650327
|
||||
|
||||
endif # BR2_PACKAGE_MESA3D_DRIVER
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBGL
|
||||
@@ -234,6 +282,9 @@ config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBOPENCL
|
||||
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENCL
|
||||
|
||||
endif # BR2_PACKAGE_MESA3D
|
||||
|
||||
comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library"
|
||||
|
||||
Reference in New Issue
Block a user