浏览代码

package/ti-sgx-demos: new package

This package adds the SGX demos from Imagination Technologies, they are
available as binaries only.
This package contains binaries compiled for the SGX graphics accelerator used
in the following Texas Instruments SoCs: AM335x, AM437x, AM4430, AM5430.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Lothar Felten 9 年之前
父节点
当前提交
88ac054a3e
共有 4 个文件被更改,包括 30 次插入0 次删除
  1. 1 0
      package/Config.in
  2. 9 0
      package/ti-sgx-demos/Config.in
  3. 2 0
      package/ti-sgx-demos/ti-sgx-demos.hash
  4. 18 0
      package/ti-sgx-demos/ti-sgx-demos.mk

+ 1 - 0
package/Config.in

@@ -454,6 +454,7 @@ endmenu
 	source "package/sysstat/Config.in"
 	source "package/targetcli-fb/Config.in"
 	source "package/ti-gfx/Config.in"
+	source "package/ti-sgx-demos/Config.in"
 	source "package/ti-sgx-km/Config.in"
 	source "package/ti-sgx-um/Config.in"
 	source "package/ti-uim/Config.in"

+ 9 - 0
package/ti-sgx-demos/Config.in

@@ -0,0 +1,9 @@
+config BR2_PACKAGE_TI_SGX_DEMOS
+	bool "ti-sgx-demos"
+	depends on BR2_PACKAGE_TI_SGX_UM
+	help
+	  These SGX powervr demo applications from Imagination
+	  Technologies are availabe as binaries only.  The binaries
+	  are compiled for the TI SGX implementation.
+
+	  http://git.ti.com/graphics/img-pvr-sdk

+ 2 - 0
package/ti-sgx-demos/ti-sgx-demos.hash

@@ -0,0 +1,2 @@
+# Locally computed:
+sha256 9d1d4da2c2b35303e239f99eb4003b8b206078a682aa083d5fb831ee4197f3bf ti-sgx-demos-f24650bc8243b25c23d6a0a502ed79fc472ac424.tar.gz

+ 18 - 0
package/ti-sgx-demos/ti-sgx-demos.mk

@@ -0,0 +1,18 @@
+################################################################################
+#
+# ti-sgx-demos
+#
+################################################################################
+
+# This correpsonds to SDK 02.00.00.00
+TI_SGX_DEMOS_VERSION = f24650bc8243b25c23d6a0a502ed79fc472ac424
+TI_SGX_DEMOS_SITE = git://git.ti.com/graphics/img-pvr-sdk.git
+TI_SGX_DEMOS_LICENSE = Imagination Technologies License Agreement
+TI_SGX_DEMOS_LICENSE_FILES = LegalNotice.txt
+
+define TI_SGX_DEMOS_INSTALL_TARGET_CMDS
+	cp -dpfr $(@D)/targetfs/Examples/Advanced/OGLES* \
+		$(TARGET_DIR)/usr/bin/
+endef
+
+$(eval $(generic-package))