Update buidlroot to version 2016.08.1
This commit is contained in:
36
bsp/buildroot/package/ti-sgx-um/Config.in
Normal file
36
bsp/buildroot/package/ti-sgx-um/Config.in
Normal file
@@ -0,0 +1,36 @@
|
||||
comment "ti-sgx-um needs the ti-sgx-km driver"
|
||||
depends on !BR2_PACKAGE_TI_SGX_KM
|
||||
|
||||
comment "ti-sgx-um needs a glibc toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_TI_SGX_UM
|
||||
bool "ti-sgx-um"
|
||||
depends on BR2_PACKAGE_TI_SGX_KM
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
||||
# pre-built binaries
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_LIBDRM_OMAP
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_HAS_LIBGLES
|
||||
select BR2_PACKAGE_HAS_POWERVR
|
||||
help
|
||||
Graphics libraries for TI CPUs with SGX5xx GPU.
|
||||
This package supports AM335x, AM437x, AM4430 and AM5430.
|
||||
For older CPUs or kernels use the ti-gfx package.
|
||||
|
||||
http://git.ti.com/graphics/omap5-sgx-ddk-um-linux
|
||||
|
||||
if BR2_PACKAGE_TI_SGX_UM
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
default "ti-sgx-um"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
default "ti-sgx-um"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_POWERVR
|
||||
default "ti-sgx-um"
|
||||
|
||||
endif
|
||||
14
bsp/buildroot/package/ti-sgx-um/S80ti-sgx
Normal file
14
bsp/buildroot/package/ti-sgx-um/S80ti-sgx
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
case "$1" in
|
||||
start)
|
||||
printf "Initializing SGX graphics driver "
|
||||
/usr/bin/pvrsrvinit
|
||||
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
6
bsp/buildroot/package/ti-sgx-um/powervr.ini
Normal file
6
bsp/buildroot/package/ti-sgx-um/powervr.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
[default]
|
||||
#defaul library without double buffering:
|
||||
WindowSystem=libpvrDRMWSEGL_FRONT.so
|
||||
#alternative library, slower but with double buffering
|
||||
#WindowSystem=libpvrDRMWSEGL.so
|
||||
DisableHWTQTextureUpload=1
|
||||
2
bsp/buildroot/package/ti-sgx-um/ti-sgx-um.hash
Normal file
2
bsp/buildroot/package/ti-sgx-um/ti-sgx-um.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 c17f23d255cff8fe72fc3f5cae3d7550e387af07d036954b4f08e573379406d0 ti-sgx-um-e15f1543bab4de9e8927a2c4934addf3fd16ffcb.tar.gz
|
||||
38
bsp/buildroot/package/ti-sgx-um/ti-sgx-um.mk
Normal file
38
bsp/buildroot/package/ti-sgx-um/ti-sgx-um.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# ti-sgx-um
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# This correpsonds to SDK 02.00.00.00
|
||||
TI_SGX_UM_VERSION = e15f1543bab4de9e8927a2c4934addf3fd16ffcb
|
||||
TI_SGX_UM_SITE = git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git
|
||||
TI_SGX_UM_LICENSE = TI TSPA License
|
||||
TI_SGX_UM_LICENSE_FILES = OMAP5-Linux-Graphics-DDK-UM-Manifest.doc
|
||||
TI_SGX_UM_INSTALL_STAGING = YES
|
||||
|
||||
# ti-sgx-um is a egl/gles provider only if libdrm is installed
|
||||
TI_SGX_UM_DEPENDENCIES = libdrm
|
||||
|
||||
define TI_SGX_UM_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) install
|
||||
endef
|
||||
|
||||
define TI_SGX_UM_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
# libs use the following file for configuration
|
||||
define TI_SGX_UM_INSTALL_CONF
|
||||
$(INSTALL) -D -m 0644 package/ti-sgx-um/powervr.ini \
|
||||
$(TARGET_DIR)/etc/powervr.ini
|
||||
endef
|
||||
|
||||
TI_SGX_UM_POST_INSTALL_TARGET_HOOKS += TI_SGX_UM_INSTALL_CONF
|
||||
|
||||
define TI_SGX_UM_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/ti-sgx-um/S80ti-sgx \
|
||||
$(TARGET_DIR)/etc/init.d/S80ti-sgx
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user