summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/squashfs-tools
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-05-21 13:22:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-24 07:19:19 +0100
commita55e99fc5fb2b17e350d7a9a7a6f03fbfcbfb382 (patch)
treed8a8c9039375ba2c5b0d27800d5c327874d4ef7b /meta/recipes-devtools/squashfs-tools
parent74c7efb2af5d94d66c3a510896bb4b79b1222735 (diff)
downloadpoky-a55e99fc5fb2b17e350d7a9a7a6f03fbfcbfb382.tar.gz
squashfs-tools: build and install unsquashfs as well
* it's useful for debugging corrupt squashfs images from mksquashfs (From OE-Core rev: af3c9bbf2db5a712f63145697d045d2f1ddce271) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/squashfs-tools')
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
index d36f0fea44..19d555e1e9 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
@@ -27,11 +27,12 @@ SPDX_S = "${WORKDIR}/squashfs${PV}"
27EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1" 27EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1"
28 28
29do_compile() { 29do_compile() {
30 oe_runmake mksquashfs 30 oe_runmake mksquashfs unsquashfs
31} 31}
32do_install () { 32do_install () {
33 install -d ${D}${sbindir} 33 install -d ${D}${sbindir}
34 install -m 0755 mksquashfs ${D}${sbindir}/ 34 install -m 0755 mksquashfs ${D}${sbindir}/
35 install -m 0755 unsquashfs ${D}${sbindir}/
35} 36}
36 37
37ARM_INSTRUCTION_SET = "arm" 38ARM_INSTRUCTION_SET = "arm"