microsoft/mu_basecore v2025110001.0.2
microsoft/mu_basecore
Captured source
source ↗v2025110001.0.2
Repository: microsoft/mu_basecore
Tag: v2025110001.0.2
Published: 2026-04-03T22:09:33Z
Prerelease: no
Release notes:
What's Changed
[Cherry-Pick] BaseTools: Only check for GCC prefixes when targeting @apop5 (#1742)
Change Details
Description
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.
(cherry picked from commit b7cf7e465c402f9b32dcadc791ba37f2db750522)
- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
How This Was Tested
Ubuntu WSL with aarch64 compiler installed building X64 target failed. Passed after change.
Integration Instructions
No integration necessary.
Full Changelog: https://github.com/microsoft/mu_basecore/compare/v2025110001.0.1...v2025110001.0.2