summaryrefslogtreecommitdiff
path: root/recipes/squashfs-tools/squashfs-tools_4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/squashfs-tools/squashfs-tools_4.0.bb')
-rw-r--r--recipes/squashfs-tools/squashfs-tools_4.0.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes/squashfs-tools/squashfs-tools_4.0.bb b/recipes/squashfs-tools/squashfs-tools_4.0.bb
index 0de5794b95..a4503fcf0f 100644
--- a/recipes/squashfs-tools/squashfs-tools_4.0.bb
+++ b/recipes/squashfs-tools/squashfs-tools_4.0.bb
@@ -1,5 +1,12 @@
require squashfs-tools.inc
+DEPENDS += "lzma"
PR = "${INC_PR}.1"
+EXTRA_OEMAKE = "USE_LZMA=1 \
+ LZMA_CFLAGS='-I${STAGING_INCDIR}/lzma -DUSE_LZMA' \
+ LZMA_LIB='${STAGING_LIBDIR}/liblzma.a'"
+
DEFAULT_PREFERENCE = "-1"
-SRC_URI += " file://Makefile.patch;patch=1"
+SRC_URI += " file://portability.patch;patch=1;pnum=2 \
+ file://lzma-support.patch;patch=1;pnum=2"
+