diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-02-06 23:07:24 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-02-18 21:11:36 +0100 |
commit | 01262c921c7cbafc9a32b912e42c58982f47725c (patch) | |
tree | 8c5fee2472391ffc9fd67ccf5f2e8960161a1b8c /tools/squashfs3-lzma/patches/100-lzma.patch | |
parent | 78dc8e2b13df439db92f233fe61d75959ffb57a6 (diff) | |
download | upstream-01262c921c7cbafc9a32b912e42c58982f47725c.tar.gz upstream-01262c921c7cbafc9a32b912e42c58982f47725c.tar.bz2 upstream-01262c921c7cbafc9a32b912e42c58982f47725c.zip |
tools/squashfs: rename to squashfs3-lzma
The name of squashfs is confusing since in reality it's a really old
version using an old lzma library. This tools is used for old ath79
netgear target and to produde a fake squasfs3 image needed for some
specific bootloader from some OEM (AVM for example)
Rename squashfs tool to squasfs3-lzma to better describe it.
Rename the installed bin from mksquashfs-lzma to mksquashfs3-lzma.
Use tar transform to migrate the root directory in tar to the new
naming.
Drop redundant PKG_CAT variable not needed anymore.
Also update any user of this tool.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'tools/squashfs3-lzma/patches/100-lzma.patch')
-rw-r--r-- | tools/squashfs3-lzma/patches/100-lzma.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/squashfs3-lzma/patches/100-lzma.patch b/tools/squashfs3-lzma/patches/100-lzma.patch new file mode 100644 index 0000000000..73f6a4e055 --- /dev/null +++ b/tools/squashfs3-lzma/patches/100-lzma.patch @@ -0,0 +1,22 @@ +--- a/squashfs-tools/Makefile ++++ b/squashfs-tools/Makefile +@@ -7,6 +7,9 @@ all: mksquashfs unsquashfs + mksquashfs: mksquashfs.o read_fs.o sort.o + $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@ + ++mksquashfs-lzma: mksquashfs.o read_fs.o sort.o ++ $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma-old -o $@ ++ + mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h + + read_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h +@@ -16,4 +19,9 @@ sort.o: sort.c squashfs_fs.h global.h so + unsquashfs: unsquashfs.o + $(CC) unsquashfs.o -lz -o $@ + ++unsquashfs-lzma: unsquashfs.o ++ $(CXX) unsquashfs.o -L$(LZMAPATH) -llzma-old -o $@ ++ + unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h ++ ++clean: |