Pull request for branch squashfs-fixes
The following changes since commit ea0695ff5edff392603a77b9299833fbb399e429:
Luca Ceresoli (1):
customize: fix copy paths
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot squashfs-fixes
Thomas Petazzoni (2):
squashfs: fix build when zlib isn't available on the host
squashfs3: fix build when zlib isn't available on the host
package/squashfs/squashfs.mk | 2 +-
....patch => squashfs3-3.4-build-system-fix.patch} | 15 ++++++++++++---
package/squashfs3/squashfs3.mk | 2 +-
3 files changed, 14 insertions(+), 5 deletions(-)
rename package/squashfs3/{squashfs-3.4-build-system-fix.patch => squashfs3-3.4-build-system-fix.patch} (66%)Thanks,
Signature · 1 line
Thomas Petazzoni
PATCH 1/2 squashfs: fix build when zlib isn't available on the host
Pass CFLAGS and LDFLAGS so that when building squashfs, it finds the zlib installed in $(HOST_DIR).
--- package/squashfs/squashfs.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/squashfs/squashfs.mk +1 -1
@@ -18,7 +18,7 @@ define SQUASHFS_INSTALL_TARGET_CMDS endef define HOST_SQUASHFS_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ + $(HOST_MAKE_ENV) $(MAKE) CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" -C $(@D)/squashfs-tools/ endef define HOST_SQUASHFS_INSTALL_CMDS
Signature · 1 line
1.6.3.3
PATCH 2/2 squashfs3: fix build when zlib isn't available on the host
In reply to Thomas PetazzoniWe need to pass CFLAGS and LDFLAGS, and to rename the patch so that it actually gets applied.
---
....patch => squashfs3-3.4-build-system-fix.patch} | 15 ++++++++++++---
package/squashfs3/squashfs3.mk | 2 +-
2 files changed, 13 insertions(+), 4 deletions(-)
rename package/squashfs3/{squashfs-3.4-build-system-fix.patch => squashfs3-3.4-build-system-fix.patch} (66%)package/squashfs3/squashfs3-3.4-build-system-fix.patch renamed from package/squashfs3/squashfs-3.4-build-system-fix.patch +12 -3
@@ -9,9 +9,9 @@ Signed-off-by: Peter Korsgaard <[email protected]> Index: squashfs3.4/squashfs-tools/Makefile =================================================================== ---- squashfs3.4.orig/squashfs-tools/Makefile -+++ squashfs3.4/squashfs-tools/Makefile -@@ -2,12 +2,12 @@ INSTALL_DIR = /usr/local/bin +--- squashfs3.4.orig/squashfs-tools/Makefile 2008-08-26 09:10:13.000000000 +0200 ++++ squashfs3.4/squashfs-tools/Makefile 2010-05-06 21:09:28.000000000 +0200 +@@ -2,12 +2,12 @@ INCLUDEDIR = .
@@ -26,3 +26,12 @@ Index: squashfs3.4/squashfs-tools/Makefile mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h +@@ -16,7 +16,7 @@ + sort.o: sort.c squashfs_fs.h global.h sort.h + + unsquashfs: unsquashfs.o +- $(CC) unsquashfs.o -lz -lpthread -lm -o $@ ++ $(CC) $(LDFLAGS) unsquashfs.o -lz -lpthread -lm -o $@ + + unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h +
package/squashfs3/squashfs3.mk +1 -1
@@ -18,7 +18,7 @@ define SQUASHFS3_INSTALL_TARGET_CMDS endef define HOST_SQUASHFS3_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ + $(HOST_MAKE_ENV) $(MAKE) CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" -C $(@D)/squashfs-tools/ endef define HOST_SQUASHFS3_INSTALL_CMDS
Signature · 1 line
1.6.3.3
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> The following changes since commit ea0695ff5edff392603a77b9299833fbb399e429:
Thomas> Luca Ceresoli (1):
Thomas> customize: fix copy paths
Thomas> are available in the git repository at:
Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot squashfs-fixes
Pulled, thanks!
Signature · 1 line
Bye, Peter Korsgaard