edk2/BaseTools/Plugin
Aaron Pop b7cf7e465c BaseTools: Only check for GCC prefixes when targeting
LinuxGccToolChain is checking for the environment variable
GCC_AARCH64_PREFIX when GCC_AARCH64_INSTALL is set in the environment
variables. GCC_AARCH64_INSTALL is set when any gcc aarch64 compiler
is installed (i.e. aarch64-none-elf, aarch64-linux-gnu, aarch64-unknown-elf
all result in a GCC_AARCH64_INSTALL environment variable).

When compiling for an X86 target, if an AARCH64 tool chain is installed
in the system, this will result in an error due to the GCC_AARCH64_PREFIX
not being set.

Add a check based upon TARGET_ARCH and and only verify the prefixes
when attempting to build AARCH64.

Replicate the same check for RISCV and LOONGARCH64 architectures as well.

Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
2026-04-03 05:32:14 +00:00
..
BuildToolsReport BaseTools: Add BaseTools plugins to support CI 2019-11-11 13:01:58 -08:00
CodeQL BaseTools: Fix type annotations 2025-05-26 09:02:24 +08:00
DebugMacroCheck BaseTools: Fix Debug Macro Checking to Include Scanning Files 2025-03-13 15:39:06 +00:00
HostBasedUnitTestRunner BaseTools/Plugin: Add lcov error tolerance for vendored source trees 2026-03-31 22:24:43 +00:00
LinuxGccToolChain BaseTools: Only check for GCC prefixes when targeting 2026-04-03 05:32:14 +00:00
WindowsResourceCompiler BaseTools/WinRcPath: Improve Performance. 2024-08-04 07:30:59 +00:00
WindowsVsToolChain BaseTools/WindowsVsToolChain.py: Minor code style updates 2026-03-07 18:30:01 +00:00