mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-11-16 10:53:14 +01:00
Optimize build script.
This commit is contained in:
@@ -8,6 +8,11 @@ name=vtoy_fuse_iso_aa64
|
||||
|
||||
export C_INCLUDE_PATH=$LIBFUSE_DIR/include
|
||||
|
||||
|
||||
if [ ! -d $LIBFUSE_DIR ]; then
|
||||
sh build_libfuse_aarch64.sh
|
||||
fi
|
||||
|
||||
rm -f $name
|
||||
aarch64-buildroot-linux-uclibc-gcc -static -O2 -D_FILE_OFFSET_BITS=64 vtoy_fuse_iso.c -o $name $LIBFUSE_DIR/lib/libfuse.a
|
||||
|
||||
@@ -19,3 +24,4 @@ fi
|
||||
|
||||
aarch64-buildroot-linux-uclibc-strip --strip-all $name
|
||||
|
||||
rm -rf $LIBFUSE_DIR
|
||||
|
||||
Reference in New Issue
Block a user