summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2015-11-20 10:34:15 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-29 15:43:07 +0100
commit10478514a51427e855f83eeb24a0502b1380150c (patch)
tree3508c6abaf6ae2023615e92366fd943fae0db505
parent546a661ecc64d4c93bffe47ea93d9ca1c4422fdf (diff)
downloadbuildroot-10478514a51427e855f83eeb24a0502b1380150c.tar.gz
buildroot-10478514a51427e855f83eeb24a0502b1380150c.zip
squashfs: always enable xattr support
In 785fef10 xattr support was disabled, probably because the old version did require the xattr package to be present to support it. In a409d76e xattr support was made optional via (lib)attr, however the squashfs package does in fact include all of the required bits to support xattr without the need for the attr package. So enable xattr support by default for both the host and target variants. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/squashfs/squashfs.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk
index 3204d05458..cdeb9c8f72 100644
--- a/package/squashfs/squashfs.mk
+++ b/package/squashfs/squashfs.mk
@@ -9,13 +9,7 @@ SQUASHFS_SOURCE = squashfs$(SQUASHFS_VERSION).tar.gz
SQUASHFS_SITE = http://downloads.sourceforge.net/project/squashfs/squashfs/squashfs$(SQUASHFS_VERSION)
SQUASHFS_LICENSE = GPLv2+
SQUASHFS_LICENSE_FILES = COPYING
-
-ifeq ($(BR2_PACKAGE_ATTR),y)
-SQUASHFS_DEPENDENCIES += attr
-SQUASHFS_MAKE_ARGS += XATTR_SUPPORT=1
-else
-SQUASHFS_MAKE_ARGS += XATTR_SUPPORT=0
-endif
+SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=1
ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y)
SQUASHFS_DEPENDENCIES += lz4
@@ -54,9 +48,8 @@ endif
HOST_SQUASHFS_DEPENDENCIES = host-zlib host-lz4 host-lzo host-xz
-# no libattr/xz in BR
HOST_SQUASHFS_MAKE_ARGS = \
- XATTR_SUPPORT=0 \
+ XATTR_SUPPORT=1 \
XZ_SUPPORT=1 \
GZIP_SUPPORT=1 \
LZ4_SUPPORT=1 \
OpenPOWER on IntegriCloud