]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - FUSEISO/build_aarch64.sh
Fix the resolution issue when boot Windows/WinPE in UEFI mode.
[Ventoy.git] / FUSEISO / build_aarch64.sh
1 #!/bin/bash
2
3 CUR="$PWD"
4
5 LIBFUSE_DIR=$CUR/LIBFUSE
6
7 name=vtoy_fuse_iso_aa64
8
9 export C_INCLUDE_PATH=$LIBFUSE_DIR/include
10
11 rm -f $name
12 aarch64-buildroot-linux-uclibc-gcc -static -O2 -D_FILE_OFFSET_BITS=64 vtoy_fuse_iso.c -o $name $LIBFUSE_DIR/lib/libfuse.a
13
14 if [ -e $name ]; then
15 echo -e "\n############### SUCCESS $name ##################\n"
16 else
17 echo -e "\n############### FAILED $name ##################\n"
18 fi
19
20 aarch64-buildroot-linux-uclibc-strip --strip-all $name
21