Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -4,13 +4,13 @@ comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV
|
||||
bool "imx-gpu-viv"
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_HAS_LIBGLES
|
||||
select BR2_PACKAGE_HAS_LIBOPENVG
|
||||
# Pre-built binaries only available for ARM EABIhf
|
||||
depends on BR2_ARM_EABIHF
|
||||
# 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
|
||||
|
||||
@@ -60,17 +60,6 @@ config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
config BR2_PACKAGE_PROVIDES_LIBOPENVG
|
||||
default "imx-gpu-viv"
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_APITRACE
|
||||
bool "install apitrace tools"
|
||||
select BR2_PACKAGE_IMX_GPU_VIV_G2D
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
Copy the apitrace tool to the target. Apitrace consists
|
||||
of a set of tools to trace, replay and/or inspect OpenGL,
|
||||
OpenGL ES APIs calls
|
||||
|
||||
http://apitrace.github.io/
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
|
||||
bool "install examples"
|
||||
help
|
||||
@@ -78,11 +67,6 @@ config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
|
||||
|
||||
Warning: examples take approximately 150 MB of disk space.
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_G2D
|
||||
bool "install G2D libraries"
|
||||
help
|
||||
Copy the GPU2D libraries to the target.
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
|
||||
bool "install gmem_info tool"
|
||||
help
|
||||
|
||||
@@ -1 +1 @@
|
||||
sha256 caaabd59a259e29aa5b7f9d1d7f3fe71cff9336ba44904485d258baef276351f imx-gpu-viv-5.0.11.p8.6-hfp.bin
|
||||
sha256 4f93a4412c93ca5959aa2437bfed2ecbaf983b5b272be5977f76a967de5db150 imx-gpu-viv-6.2.2.p0-aarch32.bin
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IMX_GPU_VIV_VERSION = 5.0.11.p8.6-hfp
|
||||
IMX_GPU_VIV_VERSION = 6.2.2.p0-aarch32
|
||||
IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE)
|
||||
IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin
|
||||
|
||||
@@ -43,8 +43,8 @@ define IMX_GPU_VIV_BUILD_CMDS
|
||||
ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so
|
||||
ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so.2
|
||||
ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so.2.0.0
|
||||
ln -sf libVIVANTE-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libVIVANTE.so
|
||||
ln -sf libGAL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGAL.so
|
||||
ln -sf libVDK-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libVDK.so
|
||||
endef
|
||||
|
||||
ifeq ($(IMX_GPU_VIV_LIB_TARGET),fb)
|
||||
@@ -52,43 +52,35 @@ define IMX_GPU_VIV_FIXUP_FB_HEADERS
|
||||
$(SED) '39i\
|
||||
#if !defined(EGL_API_X11) && !defined(EGL_API_DFB) && !defined(EGL_API_FB) \n\
|
||||
#define EGL_API_FB \n\
|
||||
#endif' $(STAGING_DIR)/usr/include/EGL/eglvivante.h
|
||||
#endif' $(STAGING_DIR)/usr/include/EGL/eglplatform.h
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_G2D),y)
|
||||
define IMX_GPU_VIV_INSTALL_G2D_STAGING
|
||||
cp -dpfr $(@D)/g2d/usr/include/* $(STAGING_DIR)/usr/include/
|
||||
cp -dpfr $(@D)/g2d/usr/lib/* $(STAGING_DIR)/usr/lib/
|
||||
ifeq ($(IMX_GPU_VIV_LIB_TARGET),fb)
|
||||
define IMX_GPU_VIV_FIXUP_PKGCONFIG
|
||||
ln -sf egl_linuxfb.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 \
|
||||
ln -sf $${lib}_x11.pc $(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc || exit 1; \
|
||||
done
|
||||
endef
|
||||
endif
|
||||
|
||||
define IMX_GPU_VIV_INSTALL_STAGING_CMDS
|
||||
cp -r $(@D)/gpu-core/usr/* $(STAGING_DIR)/usr
|
||||
$(IMX_GPU_VIV_FIXUP_FB_HEADERS)
|
||||
$(IMX_GPU_VIV_INSTALL_G2D_STAGING)
|
||||
for lib in egl glesv2 vg; do \
|
||||
$(IMX_GPU_VIV_FIXUP_PKGCONFIG)
|
||||
for lib in egl gbm glesv1_cm glesv2 vg; do \
|
||||
$(INSTALL) -m 0644 -D \
|
||||
$(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc \
|
||||
$(STAGING_DIR)/usr/lib/pkgconfig/$${lib}.pc; \
|
||||
done
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_APITRACE),y)
|
||||
IMX_GPU_VIV_DEPENDENCIES += libpng
|
||||
ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
|
||||
define IMX_GPU_VIV_INSTALL_APITRACE
|
||||
cp -dpfr $(@D)/apitrace/x11/usr/bin/* $(TARGET_DIR)/usr/bin/
|
||||
cp -dpfr $(@D)/apitrace/x11/usr/lib/* $(TARGET_DIR)/usr/lib/
|
||||
endef
|
||||
else
|
||||
define IMX_GPU_VIV_INSTALL_APITRACE
|
||||
cp -dpfr $(@D)/apitrace/non-x11/usr/bin/* $(TARGET_DIR)/usr/bin/
|
||||
cp -dpfr $(@D)/apitrace/non-x11/usr/lib/* $(TARGET_DIR)/usr/lib/
|
||||
endef
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES),y)
|
||||
define IMX_GPU_VIV_INSTALL_EXAMPLES
|
||||
mkdir -p $(TARGET_DIR)/usr/share/examples/
|
||||
@@ -96,12 +88,6 @@ define IMX_GPU_VIV_INSTALL_EXAMPLES
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_G2D),y)
|
||||
define IMX_GPU_VIV_INSTALL_G2D
|
||||
cp -dpfr $(@D)/g2d/usr/lib/* $(TARGET_DIR)/usr/lib/
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO),y)
|
||||
define IMX_GPU_VIV_INSTALL_GMEM_INFO
|
||||
cp -dpfr $(@D)/gpu-tools/gmem-info/usr/bin/* $(TARGET_DIR)/usr/bin/
|
||||
@@ -112,12 +98,10 @@ endif
|
||||
# Note that this is _required_, else ldconfig may create symlinks
|
||||
# to the wrong library
|
||||
define IMX_GPU_VIV_INSTALL_TARGET_CMDS
|
||||
$(IMX_GPU_VIV_INSTALL_APITRACE)
|
||||
$(IMX_GPU_VIV_INSTALL_EXAMPLES)
|
||||
$(IMX_GPU_VIV_INSTALL_G2D)
|
||||
$(IMX_GPU_VIV_INSTALL_GMEM_INFO)
|
||||
cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr
|
||||
for lib in EGL GAL VIVANTE GLESv2; do \
|
||||
for lib in EGL GAL GLESv2 VDK; do \
|
||||
for f in $(TARGET_DIR)/usr/lib/lib$${lib}-*.so; do \
|
||||
case $$f in \
|
||||
*-$(IMX_GPU_VIV_LIB_TARGET).so) : ;; \
|
||||
|
||||
Reference in New Issue
Block a user