Skip to contentSkip to conversation

task-arago-tisdk-graphics: Create graphics task

PATCH New Franklin S. Cooper Jr 1 participant 1 message Oct 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 task-arago-tisdk-graphics: Create graphics task

* Create graphics task that groups the various packages from the Graphics SDK recipe.

---
Version 2 changes:
Remove COMPATIBLE_MACHINE.
Added PACKAGE_ARCH and ALLOW_EMPTY when needed.

 .../tasks/task-arago-tisdk-graphics-sdk-target.bb  |   22 +++++++++++++
 .../tasks/task-arago-tisdk-graphics.bb             |   34 ++++++++++++++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-graphics-sdk-target.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-graphics.bb
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-graphics-sdk-target.bb new file +22 -0
new file mode 100644
index 0000000..3ff527b
@@ -0,0 +1,22 @@
+DESCRIPTION = "Task to install graphics binaries on sdk target"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit task
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+ALLOW_EMPTY = "1"
+
+GRAPHICS_RDEPENDS = ""
+
+GRAPHICS_RDEPENDS_ti33x = "\
+    libgles-omap3-dev \
+"
+GRAPHICS_RDEPENDS_omap3 = "\
+    libgles-omap3-dev \
+"
+
+RDEPENDS_${PN} = "\
+    ${GRAPHICS_RDEPENDS} \
+"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-graphics.bb new file +34 -0
new file mode 100644
index 0000000..5dc1fe8
@@ -0,0 +1,34 @@
+DESCRIPTION = "Task to install graphics binaries"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+PR = "r0"
+
+inherit task
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+ALLOW_EMPTY = "1"
+
+GRAPHICS_SDK = "\
+    libgles-omap3 \
+    libgles-omap3-blitwsegl \
+    libgles-omap3-flipwsegl \
+    libgles-omap3-frontwsegl \
+    libgles-omap3-linuxfbwsegl \
+    libgles-omap3-rawdemos \
+    omap3-sgx-modules \
+"
+
+GRAPHICS_RDEPENDS = ""
+
+GRAPHICS_RDEPENDS_ti33x = "\
+    ${GRAPHICS_SDK} \
+"
+
+GRAPHICS_RDEPENDS_omap3 = "\
+    ${GRAPHICS_SDK} \
+"
+
+RDEPENDS_${PN} = "\
+    ${GRAPHICS_RDEPENDS} \
+"
Signature · 1 line
1.7.0.4