Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
31
sources/poky/meta/lib/oeqa/sdk/buildtools-cases/gcc.py
Normal file
31
sources/poky/meta/lib/oeqa/sdk/buildtools-cases/gcc.py
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
import os.path
|
||||
from oeqa.sdk.case import OESDKTestCase
|
||||
|
||||
class GccTests(OESDKTestCase):
|
||||
def test_verify_specs(self):
|
||||
"""
|
||||
Verify that the compiler has been relocated successfully and isn't
|
||||
looking in the hard-coded prefix.
|
||||
"""
|
||||
# Canonicalise the SDK root
|
||||
sdk_base = os.path.realpath(self.tc.sdk_dir)
|
||||
# Canonicalise the location of GCC
|
||||
gcc_path = os.path.realpath(self._run("command -v gcc").strip())
|
||||
# Skip the test if the GCC didn't come from the buildtools, as it only
|
||||
# comes with buildtools-extended-tarball.
|
||||
if os.path.commonprefix((sdk_base, gcc_path)) != sdk_base:
|
||||
self.skipTest("Buildtools does not provide GCC")
|
||||
|
||||
# This is the prefix that GCC is build with, and should be replaced at
|
||||
# installation time.
|
||||
sdkpath = self.td.get("SDKPATH")
|
||||
self.assertTrue(sdkpath)
|
||||
|
||||
for line in self._run('gcc -dumpspecs').splitlines():
|
||||
self.assertNotIn(sdkpath, line)
|
||||
Reference in New Issue
Block a user