1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

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>
This commit is contained in:
Martin Jansa
2015-05-21 13:22:36 +02:00
committed by Richard Purdie
parent 74c7efb2af
commit a55e99fc5f
@@ -27,11 +27,12 @@ SPDX_S = "${WORKDIR}/squashfs${PV}"
EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1" EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1"
do_compile() { do_compile() {
oe_runmake mksquashfs oe_runmake mksquashfs unsquashfs
} }
do_install () { do_install () {
install -d ${D}${sbindir} install -d ${D}${sbindir}
install -m 0755 mksquashfs ${D}${sbindir}/ install -m 0755 mksquashfs ${D}${sbindir}/
install -m 0755 unsquashfs ${D}${sbindir}/
} }
ARM_INSTRUCTION_SET = "arm" ARM_INSTRUCTION_SET = "arm"