oeqa/selftest: binutils-cross-x86_64 -> libgcc-initial

The binutils-cross-x86_64 is not avaliable for non x86-64 machines.

(From OE-Core rev: 02385b180bc4a1af7120e85a9998566bfcb85977)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2021-01-20 00:44:09 -08:00
committed by Richard Purdie
parent cc7fa85ad2
commit e56305dd70

View File

@@ -38,7 +38,7 @@ class ImageOptionsTests(OESelftestTestCase):
p = bb_vars['SYSROOT_DESTDIR'] + bb_vars['bindir'] + "/" + "ccache"
self.assertTrue(os.path.isfile(p), msg = "No ccache found (%s)" % p)
self.write_config('INHERIT += "ccache"')
recipe = "binutils-cross-x86_64"
recipe = "libgcc-initial"
self.add_command_to_tearDown('bitbake -c clean %s' % recipe)
bitbake("%s -c clean" % recipe)
bitbake("%s -f -c compile" % recipe)