mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-27 16:01:14 +00:00
IA32 ARM64 support
This commit is contained in:
19
SQUASHFS/build.txt
Normal file
19
SQUASHFS/build.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Build 32&64 unsquashfs tool with gzip/xz/lzma/lz4/lzo/zstd format
|
||||
|
||||
======== zlib ===============
|
||||
yum install zlib zlib-static
|
||||
|
||||
======== liblzma ============
|
||||
github liblzma-master
|
||||
./configure --prefix=xxx --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --enable-small
|
||||
make && make install
|
||||
|
||||
======== squashfs ========
|
||||
squashfs4.4.tar.gz
|
||||
do some modify:
|
||||
1. delete -lm and implement log10
|
||||
2. static link zlib/liblzma
|
||||
3. make unsquashfs
|
||||
|
||||
|
||||
========= Build for aarch64 the same steps but in a arm64 machine =============
|
@@ -26,6 +26,8 @@ fi
|
||||
|
||||
if uname -a | egrep -q 'x86_64|amd64'; then
|
||||
name=unsquashfs_64
|
||||
elif uname -a | egrep -q 'aarch64'; then
|
||||
name=unsquashfs_aa64
|
||||
else
|
||||
name=unsquashfs_32
|
||||
fi
|
||||
|
BIN
SQUASHFS/unsquashfs_aa64
Normal file
BIN
SQUASHFS/unsquashfs_aa64
Normal file
Binary file not shown.
Reference in New Issue
Block a user