tce-load -i compiletc liblzma-dev lzo-dev zstd-dev liblz4-dev wget https://github.com/plougher/squashfs-tools/archive/refs/tags/4.6.1.tar.gz cd squashfs-tools-4.6.1 patch -Np2 -i ../squashfs-tools_block_size.patch cd squashfs-tools Edit Makefile XZ_SUPPORT = 1 LZO_SUPPORT = 1 LZ4_SUPPORT = 1 ZSTD_SUPPORT = 1 #XATTR_SUPPORT = 1 CFLAGS ?= make CC="gcc -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" [0m 40.20s] sudo make CC="gcc -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" install