summaryrefslogtreecommitdiff
path: root/recipes/squashfs-tools/squashfs-tools_4.0.bb
blob: 886c0958837485814ceaa371f84906042aff1f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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"

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

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}\\" '