mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
manifest.py: fix test_SDK_manifest_entries
TOOLCHAIN_OUTPUTNAME could be overridden. So use this variable directly
instead of its default value ${SDK_NAME}-toolchain-${SDK_VERSION}.
(From OE-Core rev: eb32dd2956da99813136842acdb010c8471f5e3c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -86,11 +86,8 @@ class VerifyManifest(OESelftestTestCase):
|
|||||||
try:
|
try:
|
||||||
mdir = self.get_dir_from_bb_var('SDK_DEPLOY', self.buildtarget)
|
mdir = self.get_dir_from_bb_var('SDK_DEPLOY', self.buildtarget)
|
||||||
for k in d_target.keys():
|
for k in d_target.keys():
|
||||||
bb_vars = get_bb_vars(['SDK_NAME', 'SDK_VERSION'], self.buildtarget)
|
toolchain_outputname = get_bb_var('TOOLCHAIN_OUTPUTNAME', self.buildtarget)
|
||||||
mfilename[k] = "{}-toolchain-{}.{}.manifest".format(
|
mfilename[k] = "{}.{}.manifest".format(toolchain_outputname, k)
|
||||||
bb_vars['SDK_NAME'],
|
|
||||||
bb_vars['SDK_VERSION'],
|
|
||||||
k)
|
|
||||||
mpath[k] = os.path.join(mdir, mfilename[k])
|
mpath[k] = os.path.join(mdir, mfilename[k])
|
||||||
if not os.path.isfile(mpath[k]):
|
if not os.path.isfile(mpath[k]):
|
||||||
self.logger.debug("{}: {} does not exist".format(
|
self.logger.debug("{}: {} does not exist".format(
|
||||||
|
|||||||
Reference in New Issue
Block a user