Ventoy/EDK2/buildedk.sh

22 lines
456 B
Bash
Raw Normal View History

#!/bin/sh
rm -rf edk2-edk2-stable201911
2021-02-07 03:34:44 +00:00
unzip edk2-edk2-stable201911.zip > /dev/null
/bin/cp -a ./edk2_mod/edk2-edk2-stable201911 ./
cd edk2-edk2-stable201911
make -j 4 -C BaseTools/
2021-01-29 02:11:30 +00:00
cd ..
2021-01-29 09:54:04 +00:00
echo '======== build EDK2 for i386-efi ==============='
2021-01-29 02:11:30 +00:00
sh ./build.sh ia32 || exit 1
2021-01-29 09:54:04 +00:00
echo '======== build EDK2 for arm64-efi ==============='
2021-01-29 02:11:30 +00:00
sh ./build.sh aa64 || exit 1
2021-01-29 09:54:04 +00:00
echo '======== build EDK2 for x86_64-efi ==============='
2021-01-29 02:11:30 +00:00
sh ./build.sh || exit 1