Ventoy/EDK2/buildedk.sh
Wentao Guan babf879823 Ventoy: EDK2: adapt for loogarch in edk2-edk2-stable202408
INSTALL/ventoy/ventoy_${postfix}.efi
INSTALL/ventoy/vtoyutil_${postfix}.efi
VDiskChain/Tool/vdiskchain_${postfix}.efi

Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
2024-08-26 16:39:55 +08:00

24 lines
542 B
Bash

#!/bin/sh
rm -rf edk2-edk2-stable201911
unzip edk2-edk2-stable201911.zip > /dev/null
/bin/cp -a ./edk2_mod/edk2-edk2-stable201911 ./
cd edk2-edk2-stable201911
make -j 4 -C BaseTools/
cd ..
echo '======== build EDK2 for i386-efi ==============='
sh ./build.sh ia32 || exit 1
echo '======== build EDK2 for arm64-efi ==============='
sh ./build.sh aa64 || exit 1
echo '======== build EDK2 for loongarch64-efi ========='
sh ./build.sh la64 || exit 1
echo '======== build EDK2 for x86_64-efi ==============='
sh ./build.sh || exit 1