]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - FUSEISO/build_libfuse_aarch64.sh
6 # gcc automake autoconf gettext gettext-devel libtool unzip
12 LIBFUSE_DIR
=$CUR/LIBFUSE
17 # please download https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9
18 if [ -e ..
/ExFAT
/mirrors
-libfuse-fuse-2.9
.9.
zip ]; then
20 unzip ..
/ExFAT
/mirrors
-libfuse-fuse-2.9
.9.
zip
22 elif [ -e ..
/ExFAT
/libfuse
-fuse-2.9
.9.
zip ]; then
23 rm -rf libfuse
-fuse-2.9
.9
24 unzip ..
/ExFAT
/libfuse
-fuse-2.9
.9.
zip
27 echo "Please download mirrors-libfuse-fuse-2.9.9.zip first"
34 sed '/#define *__u64/d' -i include
/fuse_kernel.h
35 sed '/#define *__s64/d' -i include
/fuse_kernel.h
37 sed 's/__u64/uint64_t/g' -i include
/fuse_kernel.h
38 sed 's/__s64/int64_t/g' -i include
/fuse_kernel.h
40 .
/configure
--prefix="$LIBFUSE_DIR" --host=aarch64 CC
=aarch64
-buildroot-linux-uclibc-gcc