Skip to contentSkip to conversation

packagegroup-*-graphics: add libdrm, wayland, weston to devkit

PATCH New Denys Dmytriyenko 1 participant 2 messages Jun 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 packagegroup-*-graphics: add libdrm, wayland, weston to devkit

Also abstract EGL/GLES component to use the corresponding PREFERRED_PROVIDER variable.

---
 .../packagegroup-arago-tisdk-graphics-sdk-host.bb            |  4 +++-
 .../packagegroup-arago-tisdk-graphics-sdk-target.bb          | 12 +++++++++---
 .../packagegroups/packagegroup-arago-tisdk-graphics.bb       |  6 ++++--
 3 files changed, 16 insertions(+), 6 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb +3 -1
index d2dce0d..96ed27b 100644
@@ -1,6 +1,8 @@
 DESCRIPTION = "Task to install graphics sources in SDK"
 LICENSE = "MIT"
-PR = "r6"
+PR = "r7"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb +9 -3
index 573601b..7e18d08 100644
@@ -1,13 +1,19 @@
 DESCRIPTION = "Task to install graphics binaries on sdk target"
 LICENSE = "MIT"
-PR = "r8"
+PR = "r9"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
 GRAPHICS_RDEPENDS = "\
     libgbm-dev \
-    ti-sgx-ddk-um-dev \
-    "
+    libdrm-dev \
+    wayland-dev \
+    weston-dev \
+    ${PREFERRED_PROVIDER_virtual/egl}-dev \
+    ti-sgx-ddk-km-dev \
+"
 
 GRAPHICS_RDEPENDS_append_omap-a15 = "\
     ti-gc320-libs-dev \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +4 -2
index cb7f68b..69cfea5 100644
@@ -1,6 +1,8 @@
 DESCRIPTION = "Task to install graphics binaries"
 LICENSE = "MIT"
-PR = "r23"
+PR = "r24"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
@@ -21,8 +23,8 @@ GRAPHICS_WAYLAND_append_k3 = "\
 
 GRAPHICS_RDEPENDS = "\
     libgbm \
+    ${PREFERRED_PROVIDER_virtual/egl} \
     ${@bb.utils.contains('MACHINE_FEATURES','sgx','ti-sgx-ddk-km','',d)} \
-    ti-sgx-ddk-um \
     ${@bb.utils.contains('MACHINE_FEATURES','sgx','glmark2','',d)} \
 "
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 packagegroup-*-gtk: fixup packagegroups

* Unify the naming
* These don't need to be machine-specific

---
 ...o-gtk-sdk-target.bb => packagegroup-arago-tisdk-gtk-sdk-target.bb} | 4 +---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-gtk.bb        | 4 +---
 .../packagegroups/packagegroup-arago-toolchain-tisdk-target.bb        | 2 +-
 3 files changed, 3 insertions(+), 7 deletions(-)
 rename meta-arago-distro/recipes-core/packagegroups/{packagegroup-arago-gtk-sdk-target.bb => packagegroup-arago-tisdk-gtk-sdk-target.bb} (75%)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-gtk-sdk-target.bb renamed from meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gtk-sdk-target.bb +1 -3
similarity index 75%
rename from meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gtk-sdk-target.bb
rename to meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-gtk-sdk-target.bb
index a72e425..24db604 100644
@@ -1,8 +1,6 @@
 DESCRIPTION = "Task to install Gtk dev packages in SDK"
 LICENSE = "MIT"
-PR = "r0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PR = "r1"
 
 inherit packagegroup
 
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-gtk.bb +1 -3
index f2f76bf..d6b9326 100644
@@ -1,8 +1,6 @@
 DESCRIPTION = "Task to add Gtk embedded related packages"
 LICENSE = "MIT"
-PR = "r0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PR = "r1"
 
 inherit packagegroup
 
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-tisdk-target.bb +1 -1
index 7db6c67..03c3f47 100644
@@ -28,7 +28,7 @@ TISDK_TOOLCHAIN_EXTRA_TARGET_j7-evm = ""
 
 RDEPENDS_${PN} = "\
     ${QT_TOOLCHAIN_TARGET} \
-    ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-gtk-sdk-target','',d)} \
+    ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-tisdk-gtk-sdk-target','',d)} \
     ${TISDK_TOOLCHAIN_BASE_TARGET} \
     ${TISDK_TOOLCHAIN_EXTRA_TARGET} \
     ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-tisdk-graphics-sdk-target','',d)} \
Signature · 1 line
2.7.4