diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-05-21 13:22:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-24 07:19:19 +0100 |
commit | a55e99fc5fb2b17e350d7a9a7a6f03fbfcbfb382 (patch) | |
tree | d8a8c9039375ba2c5b0d27800d5c327874d4ef7b /meta/recipes-devtools | |
parent | 74c7efb2af5d94d66c3a510896bb4b79b1222735 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb | 3 |
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}" | |||
27 | EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1" | 27 | EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1" |
28 | 28 | ||
29 | do_compile() { | 29 | do_compile() { |
30 | oe_runmake mksquashfs | 30 | oe_runmake mksquashfs unsquashfs |
31 | } | 31 | } |
32 | do_install () { | 32 | do_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 | ||
37 | ARM_INSTRUCTION_SET = "arm" | 38 | ARM_INSTRUCTION_SET = "arm" |