Build: Provide EDK-II BaseTools in releases

This commit is contained in:
Mike Beaton 2023-03-02 19:53:35 +00:00 committed by MikeBeaton
parent ba2202437d
commit 0e5ba48fa2
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,7 @@ OpenCore Changelog
- Added version number to EnableGop UI section, so tool builders can track it
- Added `ProvideCurrentCpuInfo` support for macOS 13.3 DP
- Added AMD support, GOP offset auto-detection and macOS 10.11+ support to EnableGop vBIOS insertion script
- Included precompiled EDK-II `EfiRom` and `GenFfs` in `Utilities/BaseTools` with OpenCore releases
#### v0.8.9
- Improved debug logging when applying ACPI patches

View File

@ -275,6 +275,16 @@ package() {
cp "${selfdir}/Staging/EnableGop/${file}" "${dstdir}/Utilities/EnableGop"/ || exit 1
done
# Provide EDK-II BaseTools.
mkdir "${dstdir}/Utilities/BaseTools" || exit 1
if [ "$(unamer)" = "Windows" ]; then
cp "${selfdir}/UDK/BaseTools/Bin/Win32/EfiRom.exe" "${dstdir}/Utilities/BaseTools" || exit 1
cp "${selfdir}/UDK/BaseTools/Bin/Win32/GenFfs.exe" "${dstdir}/Utilities/BaseTools" || exit 1
else
cp "${selfdir}/UDK/BaseTools/Source/C/bin/EfiRom" "${dstdir}/Utilities/BaseTools" || exit 1
cp "${selfdir}/UDK/BaseTools/Source/C/bin/GenFfs" "${dstdir}/Utilities/BaseTools" || exit 1
fi
utils=(
"ACPIe"
"acdtinfo"