mirror of
https://github.com/ventoy/Ventoy
synced 2024-09-06 16:54:04 +00:00
22 lines
475 B
Bash
22 lines
475 B
Bash
![]() |
#!/bin/bash
|
||
|
|
||
|
CUR="$PWD"
|
||
|
|
||
|
LIBFUSE_DIR=$CUR/LIBFUSE
|
||
|
|
||
|
name=vtoy_fuse_iso_aa64
|
||
|
|
||
|
export C_INCLUDE_PATH=$LIBFUSE_DIR/include
|
||
|
|
||
|
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
|
||
|
|
||
|
if [ -e $name ]; then
|
||
|
echo -e "\n############### SUCCESS $name ##################\n"
|
||
|
else
|
||
|
echo -e "\n############### FAILED $name ##################\n"
|
||
|
fi
|
||
|
|
||
|
aarch64-buildroot-linux-uclibc-strip --strip-all $name
|
||
|
|