diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-05-21 13:24:11 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-20 20:54:31 +0100 |
commit | 0891b8789d4b5c0fb954b1cc3c6f3ea119eb2d05 (patch) | |
tree | 5b5d2907f84b490e2595d755f2f637bb6b1a7289 /meta/recipes-devtools | |
parent | b8b7df8304fcf5f00fd40d641123b88bd527bf13 (diff) | |
download | poky-0891b8789d4b5c0fb954b1cc3c6f3ea119eb2d05.tar.gz |
squashfs-tools: build and install unsquashfs as well
* it's useful for debugging corrupt squashfs images from mksquashfs
(From OE-Core rev: 2811ea0d0f9cc4e9a1d4eed71bbc2d0c77043a40)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster@smtp.gmail.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" |