2011-10-21 16:39:47 +00:00
|
|
|
# Note, we can probably remove the lzma option as it has be replaced with xz,
|
|
|
|
# and I don't think the kernel supports it any more.
|
2013-11-25 18:22:23 +00:00
|
|
|
SUMMARY = "Tools for manipulating SquashFS filesystems"
|
2011-10-21 16:39:47 +00:00
|
|
|
SECTION = "base"
|
2011-12-03 23:48:29 +00:00
|
|
|
LICENSE = "GPL-2 & PD"
|
2014-07-15 20:24:45 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
2011-10-21 16:39:47 +00:00
|
|
|
file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \
|
2015-06-04 12:44:37 +00:00
|
|
|
"
|
2014-08-12 07:54:58 +00:00
|
|
|
DEPENDS = "attr zlib xz lzo lz4"
|
2011-10-21 16:39:47 +00:00
|
|
|
|
2015-06-04 12:44:37 +00:00
|
|
|
PV = "4.3+gitr${SRCPV}"
|
|
|
|
SRCREV = "9c1db6d13a51a2e009f0027ef336ce03624eac0d"
|
|
|
|
SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https \
|
2011-10-21 16:39:47 +00:00
|
|
|
http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2;name=lzma \
|
2015-09-14 09:27:40 +00:00
|
|
|
file://0001-mksquashfs.c-get-inline-functions-work-with-C99.patch;striplevel=2 \
|
2015-11-18 23:25:24 +00:00
|
|
|
file://fix-compat.patch \
|
2015-06-04 12:44:37 +00:00
|
|
|
"
|
2011-10-21 16:39:47 +00:00
|
|
|
SRC_URI[lzma.md5sum] = "29d5ffd03a5a3e51aef6a74e9eafb759"
|
|
|
|
SRC_URI[lzma.sha256sum] = "c935fd04dd8e0e8c688a3078f3675d699679a90be81c12686837e0880aa0fa1e"
|
|
|
|
|
2015-06-04 12:44:37 +00:00
|
|
|
S = "${WORKDIR}/git/squashfs-tools"
|
2011-10-21 16:39:47 +00:00
|
|
|
|
|
|
|
# EXTRA_OEMAKE is typically: -e MAKEFLAGS=
|
|
|
|
# the -e causes problems as CFLAGS is modified in the Makefile, so
|
|
|
|
# we redefine EXTRA_OEMAKE here
|
2014-08-12 07:54:58 +00:00
|
|
|
EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1"
|
2011-10-21 16:39:47 +00:00
|
|
|
|
|
|
|
do_compile() {
|
2015-05-21 11:22:36 +00:00
|
|
|
oe_runmake mksquashfs unsquashfs
|
2011-10-21 16:39:47 +00:00
|
|
|
}
|
|
|
|
do_install () {
|
2015-06-04 12:44:37 +00:00
|
|
|
install -d ${D}${sbindir}
|
|
|
|
install -m 0755 mksquashfs ${D}${sbindir}/
|
2015-05-21 11:22:36 +00:00
|
|
|
install -m 0755 unsquashfs ${D}${sbindir}/
|
2011-10-21 16:39:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ARM_INSTRUCTION_SET = "arm"
|
|
|
|
|
2014-07-22 22:26:15 +00:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|