]> git.proxmox.com Git - mirror_edk2.git/commitdiff
.pytool: CISettings.py: don't add scopes for GCC
authorOliver Steffen <osteffen@redhat.com>
Mon, 16 Jan 2023 17:40:38 +0000 (18:40 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 17 Jan 2023 19:06:32 +0000 (19:06 +0000)
All ext_dep.yml files for gcc have been removed and gcc is expected to
be installed on the system (GCC5_*_PREFIX may indicate the location).
No need to adjust the toolchain scopes for Linux builds anymore.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chris Fernald <chfernal@microsoft.com>
.pytool/CISettings.py

index 76ac2b09dba6694d61ee48c2dfff49bb7b3d4b5a..d87c8e838e61ecbdd94bd8ae5051816a34f03e68 100644 (file)
@@ -169,15 +169,6 @@ class Settings(CiBuildSettingsManager, UpdateSettingsManager, SetupSettingsManag
             else:\r
                 logging.warning("Falling back to using in-tree BaseTools")\r
 \r
-            if is_linux and self.ActualToolChainTag.upper().startswith("GCC"):\r
-                if "AARCH64" in self.ActualArchitectures:\r
-                    scopes += ("gcc_aarch64_linux",)\r
-                if "ARM" in self.ActualArchitectures:\r
-                    scopes += ("gcc_arm_linux",)\r
-                if "RISCV64" in self.ActualArchitectures:\r
-                    scopes += ("gcc_riscv64_unknown",)\r
-                if "LOONGARCH64" in self.ActualArchitectures:\r
-                    scopes += ("gcc_loongarch64_unknown_linux",)\r
             self.ActualScopes = scopes\r
         return self.ActualScopes\r
 \r