aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/squashfs-tools/squashfs-tools_4.0.bb
blob: c180f4639f6b4bbe1647d1618c636135a8b9d4a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This override is required since this has not yet been released
SRC_URI  = "cvs://anonymous@squashfs.cvs.sourceforge.net/cvsroot/squashfs;module=squashfs;date=${SRCDATE} \
            http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2"
SRC_URI += " file://Makefile.patch;patch=1"

require squashfs-tools.inc
PR = "${INC_PR}.3"

S = "${WORKDIR}/squashfs/squashfs-tools"

EXTRA_OEMAKE += "LZMA_SUPPORT=1 LZMA_DIR=../.."
TARGET_CC_ARCH += "${LDFLAGS}"

# the COMP_DEFAULT macro should result in a string including quotes: "gzip"
COMP_DEFAULT = gzip
CFLAGS_append = ' -I. -I../../C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
 -D_GNU_SOURCE -DLZMA_SUPPORT -DCOMP_DEFAULT=\\"${COMP_DEFAULT}\\" '

SRC_URI[md5sum] = "29d5ffd03a5a3e51aef6a74e9eafb759"
SRC_URI[sha256sum] = "c935fd04dd8e0e8c688a3078f3675d699679a90be81c12686837e0880aa0fa1e"