]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest: binutils-cross-x86_64 -> libgcc-initial
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 20 Jan 2021 08:44:09 +0000 (00:44 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jan 2021 22:46:11 +0000 (22:46 +0000)
The binutils-cross-x86_64 is not avaliable for non x86-64 machines.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/buildoptions.py

index fb0a5ebfed4b5f05af3e3715d3ddfc3e8990b602..3495bee986a31098e8cb3d8a9f8d17bf5b20dbed 100644 (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)