diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-05-21 13:22:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-28 09:44:13 +0100 |
commit | 606a6d36deba7a850da8338e464dc2a9921b9e1a (patch) | |
tree | 55595256f13891c2f3e0b04092b5bd9c0d106049 /meta/recipes-devtools | |
parent | cefb6645d78deed933b2284f3f00baf226199d9b (diff) | |
download | poky-606a6d36deba7a850da8338e464dc2a9921b9e1a.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)
(From OE-Core rev: 07961604732405c14a292cc963006f48a4a82bfd)
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" |