From: Adrian Freihofer <[email protected]>

get_eSDK_toolchain passes "<image> -c populate_sdk_ext" as the target to
get_bb_vars. This works only because get_bb_vars passes the target to
"bitbake -e" as is. The task does not change the variable values which
are reported by bitbake -e, pass the image name only.

Signed-off-by: Adrian Freihofer <[email protected]>
---
 meta/lib/oeqa/selftest/cases/esdk.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/esdk.py 
b/meta/lib/oeqa/selftest/cases/esdk.py
index 7a5fe00a08..691a80cc8d 100644
--- a/meta/lib/oeqa/selftest/cases/esdk.py
+++ b/meta/lib/oeqa/selftest/cases/esdk.py
@@ -42,9 +42,7 @@ class oeSDKExtSelfTest(OESelftestTestCase):
 
     @staticmethod
     def get_eSDK_toolchain(image):
-        pn_task = '%s -c populate_sdk_ext' % image
-
-        bb_vars = get_bb_vars(['SDK_DEPLOY', 'TOOLCHAINEXT_OUTPUTNAME'], 
pn_task)
+        bb_vars = get_bb_vars(['SDK_DEPLOY', 'TOOLCHAINEXT_OUTPUTNAME'], image)
         sdk_deploy = bb_vars['SDK_DEPLOY']
         toolchain_name = bb_vars['TOOLCHAINEXT_OUTPUTNAME']
         return os.path.join(sdk_deploy, toolchain_name + '.sh')
-- 
2.56.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#248617): 
https://lists.openembedded.org/g/openembedded-core/message/248617
Mute This Topic: https://lists.openembedded.org/mt/121930726/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to