ti-test: fix build errors with nested conditional operation
PATCH 1/1 ti-test: fix build errors with nested conditional operation
From: Praneeth Bajjuri <[email protected]>
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.
--- meta-arago-distro/recipes-core/packagegroups/ti-test.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/ti-test.bb +3 -1
@@ -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)} \ "
Signature · 1 line
2.17.1
Quoted 29 lines
-----Original Message-----
From: Bajjuri, Praneeth
Sent: Friday, April 23, 2021 7:19 PM
To: Bajjuri, Praneeth <[email protected]>
Cc: Denys Dmytriyenko <[email protected]>; Tammana, Gowtham <g- [email protected]>; [email protected]
Subject: [dunfell/master PATCH] ti-test: fix build errors with nested conditional operationFrom: Praneeth Bajjuri <[email protected]>
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',"]
Quoted 4 lines
This patch fixes such build issue.
Suggested-by Denys Dmytriyenko <[email protected]>Signed-off-by Praneeth Bajjuri <[email protected]>
Quoted 30 lines
---
meta-arago-distro/recipes-core/packagegroups/ti-test.bb | 4 +++-1 file changed, 3 insertions(+), 1 deletion(-)meta-arago-distro/recipes-core/packagegroups/ti-test.bb +0
-0@@ -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 \meta-arago-distro/recipes-core/packagegroups/ti-test.bb +1
-0+ ${NOT_MAINLINE_MMIP_DEPS} \ ", d)} \"
--
2.17.1