]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - EDK2/buildedk.sh
Updated brazilian portuguese translation - aside that included 2 missing translations...
[Ventoy.git] / EDK2 / buildedk.sh
index bc99afc8750ab26f8f5112a1f4f75e6c33a58094..e001303b524e806195110fc72ef5f6611e8018e2 100644 (file)
@@ -2,32 +2,20 @@
 
 rm -rf edk2-edk2-stable201911
 
-unzip edk2-edk2-stable201911.zip
+unzip edk2-edk2-stable201911.zip > /dev/null
 
 /bin/cp -a ./edk2_mod/edk2-edk2-stable201911  ./
 
 cd edk2-edk2-stable201911
-
-VTEFI_PATH=Build/MdeModule/RELEASE_GCC48/X64/MdeModulePkg/Application/Ventoy/Ventoy/OUTPUT/Ventoy.efi
-DST_PATH=../../INSTALL/ventoy/ventoy_x64.efi
-
-rm -f $VTEFI_PATH
-rm -f $DST_PATH
-
 make -j 4 -C BaseTools/
+cd ..
 
-source ./edksetup.sh
-build -p MdeModulePkg/MdeModulePkg.dsc -a X64 -b RELEASE -t GCC48
-
-if [ -e $VTEFI_PATH ]; then
-    echo -e '\n\n====================== SUCCESS ========================\n\n'    
-    cp -a $VTEFI_PATH $DST_PATH
-    cd ..
-else
-    echo -e '\n\n====================== FAILED ========================\n\n'
-    cd ..
-    exit 1
-fi
+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 x86_64-efi ==============='
+sh ./build.sh      || exit 1