Skip to contentSkip to conversation

ti-test: omap-a15: split package selection command to avoid build erros

PATCH In review [email protected] 1 participant 2 messages Apr 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-test: omap-a15: split package selection command to avoid build erros

From: Praneeth Bajjuri <[email protected]>

Split the package selection option for omap-a15 based machines to avoid the build errors like this.

ERROR: Nothing RPROVIDES '${@oe.utils.conditional('ARAGO_BRAND',' (but <>/packagegroups/ti-test.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target '${@oe.utils.conditional('ARAGO_BRAND',' is unbuildable, removing... Missing or unbuildable dependency chain was: ["${@oe.utils.conditional('ARAGO_BRAND',"]

---
 .../recipes-core/packagegroups/ti-test.bb             | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
meta-arago-distro/recipes-core/packagegroups/ti-test.bb +3 -8
index cbc246d5..2730c381 100644
@@ -66,14 +66,9 @@ ARAGO_TI_TEST_append_ti43x = " \
     ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'cmem-test', d)} \
 "
 
-ARAGO_TI_TEST_append_omap-a15 = " \
-    omapconf \
-    ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', " \
-        ti-ipc-test \
-        ${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)} \
-        cmem-test \
-    ", d)} \
-"
+ARAGO_TI_TEST_append_omap-a15 = "omapconf ti-ipc-test cmem-test"
+
+ARAGO_TI_TEST_append_omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)}"
 
 ARAGO_TI_TEST_append_k3 = " \
     k3conf \
Signature · 1 line
2.17.1
#1 lore raw
Quoted 10 lines · On 4/19/2021 10:05 PM, [email protected] wrote:

From: Praneeth Bajjuri <[email protected]>

Split the package selection option for omap-a15 based machines to avoid the build errors like this.

ERROR: Nothing RPROVIDES '${@oe.utils.conditional('ARAGO_BRAND',' (but <>/packagegroups/ti-test.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target '${@oe.utils.conditional('ARAGO_BRAND',' is unbuildable, removing... Missing or unbuildable dependency chain was: ["${@oe.utils.conditional('ARAGO_BRAND',"]

Please ignore this one as its not the right fix.

Quoted 29 lines
---
  .../recipes-core/packagegroups/ti-test.bb             | 11 +++--------
  1 file changed, 3 insertions(+), 8 deletions(-)
meta-arago-distro/recipes-core/packagegroups/ti-test.bb +3 -8
index cbc246d5..2730c381 100644
@@ -66,14 +66,9 @@ ARAGO_TI_TEST_append_ti43x = " \
      ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'cmem-test', d)} \
  "
 
-ARAGO_TI_TEST_append_omap-a15 = " \
-    omapconf \
-    ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', " \
-        ti-ipc-test \
-        ${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)} \
-        cmem-test \
-    ", d)} \
-"
+ARAGO_TI_TEST_append_omap-a15 = "omapconf ti-ipc-test cmem-test"
+
+ARAGO_TI_TEST_append_omap-a15 = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)}"
 
  ARAGO_TI_TEST_append_k3 = " \
      k3conf \