summaryrefslogtreecommitdiffstats
path: root/rules/host-squashfs-tools.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-04-01 21:42:43 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-04-01 21:42:43 +0000
commitceb785d8486f30af2f49c35c0dc034fd07d4dc70 (patch)
tree80b93e9ad65979251fec95b65d462b837d42a896 /rules/host-squashfs-tools.make
parent0b523fe3d9bda345919ddfbd4128b5e4928db12e (diff)
downloadptxdist-ceb785d8486f30af2f49c35c0dc034fd07d4dc70.tar.gz
ptxdist-ceb785d8486f30af2f49c35c0dc034fd07d4dc70.tar.xz
Provide a choice to select squashfs{3.4,4.0}
linux-2.6.29 now includes squashfs 4.0 in the main line. It is incompatible with the previous version squashfs3.4 Select 4.0 if you are using linux-2.6.29 or later Otherwise select the version that matches the squashfs patch you've applied to your linux kernel tree. You no longer need to specify the endianess on squashfs4.0 Signed-off-by: Jon Ringle <jon@ringle.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10200 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-squashfs-tools.make')
-rw-r--r--rules/host-squashfs-tools.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/host-squashfs-tools.make b/rules/host-squashfs-tools.make
index 7c11456db..781f07c75 100644
--- a/rules/host-squashfs-tools.make
+++ b/rules/host-squashfs-tools.make
@@ -16,7 +16,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_SQUASHFS_TOOLS) += host-squashfs-tools
#
# Paths and names
#
-HOST_SQUASHFS_TOOLS_VERSION := 3.4
+HOST_SQUASHFS_TOOLS_VERSION := $(call ptx/ifdef, PTXCONF_HOST_SQUASHFS_TOOLS_V3X, 3.4, 4.0)
+
HOST_SQUASHFS_TOOLS := squashfs$(HOST_SQUASHFS_TOOLS_VERSION)
HOST_SQUASHFS_TOOLS_SUFFIX := tar.gz
HOST_SQUASHFS_TOOLS_URL := $(PTXCONF_SETUP_SFMIRROR)/squashfs/$(HOST_SQUASHFS_TOOLS).$(HOST_SQUASHFS_TOOLS_SUFFIX)