]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - GRUB2/buildgrub.sh
Display warning message if ISO file has an invalid size.
[Ventoy.git] / GRUB2 / buildgrub.sh
index c1878f09b9c93f58939e1e237c8740f6b5f59b9b..c172a6815f6aa0f82a39cec41f5133678ce80c51 100644 (file)
@@ -58,8 +58,9 @@ sh install.sh arm64
 
 # build for i386-pc
 echo '======== build grub2 for i386-pc ==============='
+make distclean
 ./autogen.sh
-./configure  --prefix=$VT_GRUB_DIR/INSTALL/
+./configure --target=i386 --with-platform=pc --prefix=$VT_GRUB_DIR/INSTALL/
 make -j 16
 sh install.sh