All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell/master PATCH] ti-test: fix build errors with nested conditional operation
@ 2021-04-24  0:18 praneeth
  2021-04-24  0:27 ` Tammana, Gowtham
  0 siblings, 1 reply; 2+ messages in thread
From: praneeth @ 2021-04-24  0:18 UTC (permalink / raw)
  To: Praneeth Bajjuri; +Cc: meta-arago

From: Praneeth Bajjuri <praneeth@ti.com>

nested conditional operation like this
${@oe.utils.conditional(<condition>, ${@bb.utils.contains()}

is causing build issues on some of the older build machines like this.

Missing or unbuildable dependency chain was: ['tisdk-default-image', 'ti-test', "'',"]
ERROR: Nothing RPROVIDES ''omapdrmtest',' (but <>/ti-test.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target ''omapdrmtest',' is unbuildable, removing...
Missing or unbuildable dependency chain was: ["'omapdrmtest',"]
ERROR: Nothing RPROVIDES ''mmip',' (but <>/ti-test.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target ''mmip',' is unbuildable, removing...
Missing or unbuildable dependency chain was: ["'mmip',"]

This patch fixes such build issue.

Suggested-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
---
 meta-arago-distro/recipes-core/packagegroups/ti-test.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
index cbc246d5..219b43b6 100644
--- a/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-test.bb
@@ -66,12 +66,14 @@ ARAGO_TI_TEST_append_ti43x = " \
     ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'cmem-test', d)} \
 "
 
+NOT_MAINLINE_MMIP_DEPS = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', 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 \
+	${NOT_MAINLINE_MMIP_DEPS} \
     ", d)} \
 "
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-24  0:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-24  0:18 [dunfell/master PATCH] ti-test: fix build errors with nested conditional operation praneeth
2021-04-24  0:27 ` Tammana, Gowtham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.