Bump buildroot to 2019.02
This commit is contained in:
@@ -2,17 +2,21 @@ comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
|
||||
depends on BR2_arm
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|
||||
|
||||
comment "imx-gpu-viv needs a glibc toolchain"
|
||||
depends on BR2_aarch64
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV
|
||||
bool "imx-gpu-viv"
|
||||
# Pre-built binaries only available for ARM EABIhf
|
||||
depends on BR2_ARM_EABIHF
|
||||
depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64
|
||||
# Library binaries are linked against libc.so.6
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_HAS_LIBGLES
|
||||
select BR2_PACKAGE_HAS_LIBOPENVG
|
||||
help
|
||||
Userspace libraries for Vivante GPU on i.MX6 platforms
|
||||
Userspace libraries for Vivante GPU on i.MX platforms
|
||||
|
||||
It contains libraries and headers for GLES, OpenCL, and
|
||||
OpenVG. It also contains a DRI plugin for X11. It also
|
||||
@@ -34,15 +38,27 @@ choice
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
||||
bool "X11"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
# The i.MX8 blob doesn't support X11 output
|
||||
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
select BR2_PACKAGE_XLIB_LIBXFIXES
|
||||
|
||||
comment "X11 backend needs Xorg package"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
||||
bool "Framebuffer"
|
||||
# The i.MX8 blob doesn't support FB output
|
||||
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
||||
bool "Wayland"
|
||||
# libdrm needed by gbm_viv.so
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
||||
|
||||
endchoice
|
||||
|
||||
@@ -50,6 +66,7 @@ config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT
|
||||
string
|
||||
default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
||||
default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
||||
default "wl" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
default "imx-gpu-viv"
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
sha256 4f93a4412c93ca5959aa2437bfed2ecbaf983b5b272be5977f76a967de5db150 imx-gpu-viv-6.2.2.p0-aarch32.bin
|
||||
sha256 dddadd164bede4793409ccfb636324dd73862c33458db66a5860f126bada25dc imx-gpu-viv-6.2.4.p1.2-aarch32.bin
|
||||
sha256 27ed3f58681cef18f87ea20946cc89b2cef4848006064303d20583e6ed7aeec7 imx-gpu-viv-6.2.4.p1.2-aarch64.bin
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IMX_GPU_VIV_VERSION = 6.2.2.p0-aarch32
|
||||
ifeq ($(BR2_aarch64),y)
|
||||
IMX_GPU_VIV_VERSION = 6.2.4.p1.2-aarch64
|
||||
else
|
||||
IMX_GPU_VIV_VERSION = 6.2.4.p1.2-aarch32
|
||||
endif
|
||||
IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE)
|
||||
IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin
|
||||
|
||||
@@ -25,8 +29,12 @@ ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
|
||||
IMX_GPU_VIV_DEPENDENCIES += xlib_libXdamage xlib_libXext xlib_libXfixes
|
||||
endif
|
||||
|
||||
ifeq ($(IMX_GPU_VIV_LIB_TARGET),wl)
|
||||
IMX_GPU_VIV_DEPENDENCIES += libdrm wayland
|
||||
endif
|
||||
|
||||
define IMX_GPU_VIV_EXTRACT_CMDS
|
||||
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_GPU_VIV_SOURCE))
|
||||
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_VIV_DL_DIR)/$(IMX_GPU_VIV_SOURCE))
|
||||
endef
|
||||
|
||||
# Instead of building, we fix up the inconsistencies that exist
|
||||
@@ -62,6 +70,12 @@ define IMX_GPU_VIV_FIXUP_PKGCONFIG
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(IMX_GPU_VIV_LIB_TARGET),wl)
|
||||
define IMX_GPU_VIV_FIXUP_PKGCONFIG
|
||||
ln -sf egl_wayland.pc $(@D)/gpu-core/usr/lib/pkgconfig/egl.pc
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
|
||||
define IMX_GPU_VIV_FIXUP_PKGCONFIG
|
||||
for lib in egl gbm glesv1_cm glesv2 vg; do \
|
||||
|
||||
Reference in New Issue
Block a user