squashfs-tools: fix up native version
authorKoen Kooi <koen@openembedded.org>
Thu, 5 Nov 2009 09:59:34 +0000 (10:59 +0100)
committerKoen Kooi <koen@openembedded.org>
Thu, 5 Nov 2009 09:59:34 +0000 (10:59 +0100)
recipes/squashfs-tools/squashfs-tools-native_4.0.bb
recipes/squashfs-tools/squashfs-tools_4.0.bb

index f21bf99..8fc80a6 100644 (file)
@@ -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 = ""
index a4503fc..17ab6dc 100644 (file)
@@ -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"