* [Buildroot] [pull request] Pull request for branch squashfs-fixes
@ 2010-05-07 19:32 Thomas Petazzoni
2010-05-07 19:32 ` [Buildroot] [PATCH 1/2] squashfs: fix build when zlib isn't available on the host Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-07 19:32 UTC (permalink / raw)
To: buildroot
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,
--
Thomas Petazzoni
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] squashfs: fix build when zlib isn't available on the host
2010-05-07 19:32 [Buildroot] [pull request] Pull request for branch squashfs-fixes Thomas Petazzoni
@ 2010-05-07 19:32 ` Thomas Petazzoni
2010-05-07 19:32 ` [Buildroot] [PATCH 2/2] squashfs3: " Thomas Petazzoni
2010-05-08 14:14 ` [Buildroot] [pull request] Pull request for branch squashfs-fixes Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-07 19:32 UTC (permalink / raw)
To: buildroot
Pass CFLAGS and LDFLAGS so that when building squashfs, it finds the
zlib installed in $(HOST_DIR).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/squashfs/squashfs.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk
index ab05b06..1dccb08 100644
--- a/package/squashfs/squashfs.mk
+++ b/package/squashfs/squashfs.mk
@@ -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
--
1.6.3.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] squashfs3: fix build when zlib isn't available on the host
2010-05-07 19:32 [Buildroot] [pull request] Pull request for branch squashfs-fixes Thomas Petazzoni
2010-05-07 19:32 ` [Buildroot] [PATCH 1/2] squashfs: fix build when zlib isn't available on the host Thomas Petazzoni
@ 2010-05-07 19:32 ` Thomas Petazzoni
2010-05-08 14:14 ` [Buildroot] [pull request] Pull request for branch squashfs-fixes Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-07 19:32 UTC (permalink / raw)
To: buildroot
We need to pass CFLAGS and LDFLAGS, and to rename the patch so that it
actually gets applied.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
....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%)
diff --git a/package/squashfs3/squashfs-3.4-build-system-fix.patch b/package/squashfs3/squashfs3-3.4-build-system-fix.patch
similarity index 66%
rename from package/squashfs3/squashfs-3.4-build-system-fix.patch
rename to package/squashfs3/squashfs3-3.4-build-system-fix.patch
index 5b86b00..3c197eb 100644
--- a/package/squashfs3/squashfs-3.4-build-system-fix.patch
+++ b/package/squashfs3/squashfs3-3.4-build-system-fix.patch
@@ -9,9 +9,9 @@ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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
+
diff --git a/package/squashfs3/squashfs3.mk b/package/squashfs3/squashfs3.mk
index 5504b14..69aab14 100644
--- a/package/squashfs3/squashfs3.mk
+++ b/package/squashfs3/squashfs3.mk
@@ -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
--
1.6.3.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [pull request] Pull request for branch squashfs-fixes
2010-05-07 19:32 [Buildroot] [pull request] Pull request for branch squashfs-fixes Thomas Petazzoni
2010-05-07 19:32 ` [Buildroot] [PATCH 1/2] squashfs: fix build when zlib isn't available on the host Thomas Petazzoni
2010-05-07 19:32 ` [Buildroot] [PATCH 2/2] squashfs3: " Thomas Petazzoni
@ 2010-05-08 14:14 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-05-08 14:14 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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!
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-08 14:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 19:32 [Buildroot] [pull request] Pull request for branch squashfs-fixes Thomas Petazzoni
2010-05-07 19:32 ` [Buildroot] [PATCH 1/2] squashfs: fix build when zlib isn't available on the host Thomas Petazzoni
2010-05-07 19:32 ` [Buildroot] [PATCH 2/2] squashfs3: " Thomas Petazzoni
2010-05-08 14:14 ` [Buildroot] [pull request] Pull request for branch squashfs-fixes Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox