Skip to contentSkip to conversation

packagegroup-arago-tisdk-graphics : Add ti-gc320-libs-dev package

PATCH In review [email protected] 3 participants 5 messages Mar 5, 2025 – Mar 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-arago-tisdk-graphics : Add ti-gc320-libs-dev package

From: Antonios Christidis <[email protected]>

Reformat the packagegroup, by creating the GFX_GC320 variable which now includes ti-gc320-tests and the ti-gc320-libs-dev package. This is needed as the -dev package includes the symb link for the library.

This patch goes hand in hand with a patch series sent to meta-ti porting gc320 to kernel 6.12 .

---
 .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +7 -1
index a82db154..60806446 100644
@@ -16,11 +16,17 @@ GFX_UTILS:append:omap-a15  = "\
     glsdk-util-scripts \
 "
 
+GFX_GC320 = "\
+    ti-gc320-libs-dev\
+    ti-gc320-tests\
+"
+    
+
 RDEPENDS:${PN} = "\
     libegl \
     glmark2 \
     kmscube \
-    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-tests', '', d)} \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', "${GFX_GC320}", '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GFX_WAYLAND}", '', d)} \
     ${GFX_UTILS} \
 "
Signature · 1 line
2.34.1
#1 lore raw
Quoted 19 lines · Antonios Christidis via lists.yoctoproject.org

From: Antonios Christidis <[email protected]>

Reformat the packagegroup, by creating the GFX_GC320 variable which now includes ti-gc320-tests and the ti-gc320-libs-dev package. This is needed as the -dev package includes the symb link for the library.

This patch goes hand in hand with a patch series sent to meta-ti porting gc320 to kernel 6.12 .

---
  .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
index a82db154..60806446 100644

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb GFX_UTILS:append:omap-a15 = "\ · line 20

Quoted 5 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
@@ -16,11 +16,17 @@ GFX_UTILS:append:omap-a15  = "\
      glsdk-util-scripts \
  "
 
+GFX_GC320 = "\
+    ti-gc320-libs-dev\

Do you really need this? The -dev package will be pulled into the sysroot for any package that DEPENDS on the library.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb GFX_UTILS:append:omap-a15 = "\ · line 24

Quoted 4 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +4 -0
+    ti-gc320-tests\
+"
+
+

Extra newline?

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb GFX_UTILS:append:omap-a15 = "\ · line 29

Quoted 6 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +1 -1
  RDEPENDS:${PN} = "\
      libegl \
      glmark2 \
      kmscube \
-    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-tests', '', d)} \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', "${GFX_GC320}", '', d)} \

Is there some test package that depends on ti-gc320-tests, maybe ltp-ddt? If so then this should be a RDEPENDS in that package instead.

Andrew

Quoted 3 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
      ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GFX_WAYLAND}", '', d)} \
      ${GFX_UTILS} \
  "
#2 lore raw
Quoted 17 lines · Andrew Davis
Quoted 16 lines · Antonios Christidis via lists.yoctoproject.org

From: Antonios Christidis <[email protected]>

Reformat the packagegroup, by creating the GFX_GC320 variable which now includes ti-gc320-tests and the ti-gc320-libs-dev package. This is needed as the -dev package includes the symb link for the library.

This patch goes hand in hand with a patch series sent to meta-ti porting gc320 to kernel 6.12 .

---
  .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 8 +++++++-

  1 file changed, 7 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
Quoted 14 lines
Quoted 10 lines

index a82db154..60806446 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

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
@@ -16,11 +16,17 @@ GFX_UTILS:append:omap-a15  = "\
       glsdk-util-scripts \

  "
  +GFX_GC320 = "\
+    ti-gc320-libs-dev\

Do you really need this? The -dev package will be pulled into the sysroot for any package that DEPENDS on the library.

Good point, the only package that needs libs-dev is ti-gc320-tests, I'll update that recipe RRDEPENDS instead of going this route.

Quoted 6 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb GFX_UTILS:append:omap-a15 = "\ · line 24

Quoted 4 lines

+    ti-gc320-tests\
+"

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
+
+

Extra newline?

I'll fix this.

Quoted 10 lines
Quoted 9 lines

  RDEPENDS:${PN} = "\
      libegl \
      glmark2 \
      kmscube \
-    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-tests', '', d)} \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', "${GFX_GC320}", '', d)} \

Quoted 3 lines

Is there some test package that depends on ti-gc320-tests, maybe ltp-ddt? If so then this should be a RDEPENDS in that package instead.

There's no package that depends on it.

Quoted 5 lines

Andrew

Quoted 3 lines

${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GFX_WAYLAND}", '', d)} \
      ${GFX_UTILS} \
  "

#3 lore raw

Ryan reject this patch, I'm sending a new patch that will edit the ti-gc320-tests recipe that will achieve the same thing.

Quoted 64 lines · Antonios Christidis
Quoted 18 lines · Andrew Davis
Quoted 17 lines · Antonios Christidis via lists.yoctoproject.org

From: Antonios Christidis <[email protected]>

Reformat the packagegroup, by creating the GFX_GC320 variable which now includes ti-gc320-tests and the ti-gc320-libs-dev package. This is needed as the -dev package includes the symb link for the library.

This patch goes hand in hand with a patch series sent to meta-ti porting gc320 to kernel 6.12 .

---
  .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 8
+++++++-

  1 file changed, 7 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
Quoted 14 lines
Quoted 10 lines

index a82db154..60806446 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

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
@@ -16,11 +16,17 @@ GFX_UTILS:append:omap-a15  = "\
       glsdk-util-scripts \

  "
  +GFX_GC320 = "\
+    ti-gc320-libs-dev\

Do you really need this? The -dev package will be pulled into the sysroot for any package that DEPENDS on the library.

Good point, the only package that needs libs-dev is ti-gc320-tests, I'll update that recipe RRDEPENDS instead of going this route.

Quoted 6 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb GFX_UTILS:append:omap-a15 = "\ · line 24

Quoted 4 lines

+    ti-gc320-tests\
+"

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
+
+

Extra newline?

I'll fix this.

Quoted 10 lines
Quoted 9 lines

  RDEPENDS:${PN} = "\
      libegl \
      glmark2 \
      kmscube \
-    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-tests', '', d)} \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', "${GFX_GC320}", '', d)} \

Quoted 3 lines

Is there some test package that depends on ti-gc320-tests, maybe ltp-ddt? If so then this should be a RDEPENDS in that package instead.

There's no package that depends on it.

Quoted 5 lines

Andrew

Quoted 3 lines

${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GFX_WAYLAND}", '', d)} \
      ${GFX_UTILS} \
  "

#4 lore raw
Quoted 2 lines · Antonios Christidis via lists.yoctoproject.org

Ryan reject this patch, I'm sending a new patch that will edit the ti-gc320-tests recipe that will achieve the same thing.

Ryan,

I see this on master-wip, while it was requested to be rejected. Thanks.

Quoted 70 lines · Antonios Christidis
Quoted 69 lines · Andrew Davis
Quoted 21 lines
Quoted 19 lines · Antonios Christidis via lists.yoctoproject.org

From: Antonios Christidis <[email protected]>

Reformat the packagegroup, by creating the GFX_GC320 variable which now includes ti-gc320-tests and the ti-gc320-libs-dev package. This is needed as
the -dev package includes the symb link for the library.

This patch goes hand in hand with a patch series sent to meta-ti porting gc320
to kernel 6.12 .

---
  .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 8 +++++++-

  1 file changed, 7 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
Quoted 12 lines
Quoted 8 lines

index a82db154..60806446 100644

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +0 -0
@@ -16,11 +16,17 @@ GFX_UTILS:append:omap-a15  = "\
       glsdk-util-scripts \

  "
  +GFX_GC320 = "\
+    ti-gc320-libs-dev\

Do you really need this? The -dev package will be pulled into the sysroot for any package that DEPENDS on the library.

Good point, the only package that needs libs-dev is ti-gc320-tests, I'll update that recipe RRDEPENDS instead of going this route.

Quoted 6 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb GFX_UTILS:append:omap-a15 = "\ · line 24

Quoted 4 lines

+    ti-gc320-tests\
+"

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
+
+

Extra newline?

I'll fix this.

Quoted 10 lines
Quoted 9 lines

  RDEPENDS:${PN} = "\
      libegl \
      glmark2 \
      kmscube \
-    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-tests', '', d)} \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', "${GFX_GC320}", '', d)} \

Quoted 4 lines

Is there some test package that depends on ti-gc320-tests, maybe ltp-ddt?
If so then this should be a RDEPENDS in that package instead.

There's no package that depends on it.

Quoted 6 lines

Andrew

Quoted 4 lines

${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GFX_WAYLAND}", '', d)} \
      ${GFX_UTILS} \
  "