summaryrefslogtreecommitdiff
path: root/recipes/squashfs-tools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/squashfs-tools')
-rw-r--r--recipes/squashfs-tools/squashfs-tools-native_4.0.bb5
-rw-r--r--recipes/squashfs-tools/squashfs-tools_4.0.bb2
2 files changed, 6 insertions, 1 deletions
diff --git a/recipes/squashfs-tools/squashfs-tools-native_4.0.bb b/recipes/squashfs-tools/squashfs-tools-native_4.0.bb
index f21bf99645..8fc80a64f1 100644
--- a/recipes/squashfs-tools/squashfs-tools-native_4.0.bb
+++ b/recipes/squashfs-tools/squashfs-tools-native_4.0.bb
@@ -1,6 +1,9 @@
+require squashfs-tools_${PV}.bb
+
inherit native
-require squashfs-tools_${PV}.bb
+DEPENDS = "zlib-native lzma-native "
+
PR = "${INC_PR}.1"
PACKAGES = ""
diff --git a/recipes/squashfs-tools/squashfs-tools_4.0.bb b/recipes/squashfs-tools/squashfs-tools_4.0.bb
index a4503fcf0f..17ab6dc61b 100644
--- a/recipes/squashfs-tools/squashfs-tools_4.0.bb
+++ b/recipes/squashfs-tools/squashfs-tools_4.0.bb
@@ -7,6 +7,8 @@ EXTRA_OEMAKE = "USE_LZMA=1 \
LZMA_LIB='${STAGING_LIBDIR}/liblzma.a'"
DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_angstrom = "1"
+
SRC_URI += " file://portability.patch;patch=1;pnum=2 \
file://lzma-support.patch;patch=1;pnum=2"