- The following modules all depend on sgx to be functional:
  chromium-wayland
  ti-sgx-ddk-km
  glmark2

Note: ti-sgx-ddk-um is still needed for build, but the libraries will not
      be invoked at run-time

Signed-off-by: Eric Ruei <[email protected]>
---
 .../packagegroup-arago-tisdk-graphics.bb             | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
index e12c42aa..cb7f68bc 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install graphics binaries"
 LICENSE = "MIT"
-PR = "r22"
+PR = "r23"
 
 inherit packagegroup
 
@@ -12,25 +12,25 @@ GRAPHICS_WAYLAND = "\
 "
 
 GRAPHICS_WAYLAND_append_omap-a15 = "\
-    chromium-wayland \
+    ${@bb.utils.contains('MACHINE_FEATURES','sgx','chromium-wayland','',d)} \
 "
 
 GRAPHICS_WAYLAND_append_k3 = "\
-    chromium-wayland \
+    ${@bb.utils.contains('MACHINE_FEATURES','sgx','chromium-wayland','',d)} \
 "
 
 GRAPHICS_RDEPENDS = "\
     libgbm \
-    ti-sgx-ddk-km \
+    ${@bb.utils.contains('MACHINE_FEATURES','sgx','ti-sgx-ddk-km','',d)} \
     ti-sgx-ddk-um \
-    glmark2 \
+    ${@bb.utils.contains('MACHINE_FEATURES','sgx','glmark2','',d)} \
 "
 
 GRAPHICS_DISPLAY_UTILS = "\
 "
 
 GRAPHICS_DISPLAY_UTILS_append_omap-a15  = "\
-    glsdk-util-scripts \
+    ${@bb.utils.contains('MACHINE_FEATURES','sgx','glsdk-util-scripts','',d)} \
 "
 
 GRAPHICS_RDEPENDS_append_omap-a15 = "\
-- 
2.17.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to