initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
comment "imx-gpu-g2d needs a glibc toolchain with armhf enabled"
|
||||
depends on BR2_arm
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|
||||
|
||||
comment "imx-gpu-g2d needs a glibc toolchain"
|
||||
depends on BR2_aarch64
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_G2D
|
||||
bool "imx-gpu-g2d"
|
||||
# Pre-built binaries only available for 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_IMX_GPU_VIV
|
||||
help
|
||||
Userspace 2D libraries for Vivante GPU on i.MX platforms.
|
||||
|
||||
This library is provided by NXP as-is and doesn't have an
|
||||
upstream.
|
||||
|
||||
if BR2_PACKAGE_IMX_GPU_G2D
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES
|
||||
bool "install examples"
|
||||
help
|
||||
Copy the Vivante G2D examples to the target.
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 39fe307916e19a0892a514621121086e276a43858af90230372a1344852116a2 imx-gpu-g2d-6.4.3.p2.0-arm.bin
|
||||
sha256 2642a49e088daae4cf568a150d01e7c095995e8a6ff1883c02c3fa6d26d254b3 imx-gpu-g2d-6.4.3.p2.0-aarch64.bin
|
||||
sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING
|
||||
sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# imx-gpu-g2d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_aarch64),y)
|
||||
IMX_GPU_G2D_VERSION = 6.4.3.p2.0-aarch64
|
||||
else
|
||||
IMX_GPU_G2D_VERSION = 6.4.3.p2.0-arm
|
||||
endif
|
||||
IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE)
|
||||
IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin
|
||||
IMX_GPU_G2D_DEPENDENCIES = imx-gpu-viv
|
||||
IMX_GPU_G2D_INSTALL_STAGING = YES
|
||||
|
||||
IMX_GPU_G2D_LICENSE = NXP Semiconductor Software License Agreement
|
||||
IMX_GPU_G2D_LICENSE_FILES = EULA COPYING
|
||||
IMX_GPU_G2D_REDISTRIBUTE = NO
|
||||
|
||||
define IMX_GPU_G2D_EXTRACT_CMDS
|
||||
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE))
|
||||
endef
|
||||
|
||||
define IMX_GPU_G2D_INSTALL_STAGING_CMDS
|
||||
cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES),y)
|
||||
define IMX_GPU_G2D_INSTALL_EXAMPLES
|
||||
mkdir -p $(TARGET_DIR)/usr/share/examples/
|
||||
cp -a $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/
|
||||
endef
|
||||
endif
|
||||
|
||||
define IMX_GPU_G2D_INSTALL_TARGET_CMDS
|
||||
$(IMX_GPU_G2D_INSTALL_EXAMPLES)
|
||||
cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user