diff options
author | Clayton Shotwell <clayton.shotwell@rockwellcollins.com> | 2015-07-10 18:28:00 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-11 09:29:17 +0200 |
commit | a409d76e8375fdc8db30e4009cb282ed96d790fc (patch) | |
tree | 99e24b983cde1e9a173c61560c735095e7163abe /package/squashfs | |
parent | d42f0f96aa13bc160bdfeb40ca75f53adb7af64e (diff) | |
download | buildroot-a409d76e8375fdc8db30e4009cb282ed96d790fc.tar.gz buildroot-a409d76e8375fdc8db30e4009cb282ed96d790fc.zip |
squashfs: Add xattr support
Adding extended attribute support for the squashfs tools when the attr
package is selected. This is needed for SELinux support.
Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/squashfs')
-rw-r--r-- | package/squashfs/squashfs.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk index 8ca9e2e513..3204d05458 100644 --- a/package/squashfs/squashfs.mk +++ b/package/squashfs/squashfs.mk @@ -10,8 +10,12 @@ SQUASHFS_SITE = http://downloads.sourceforge.net/project/squashfs/squashfs/squas SQUASHFS_LICENSE = GPLv2+ SQUASHFS_LICENSE_FILES = COPYING -# no libattr in BR -SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=0 +ifeq ($(BR2_PACKAGE_ATTR),y) +SQUASHFS_DEPENDENCIES += attr +SQUASHFS_MAKE_ARGS += XATTR_SUPPORT=1 +else +SQUASHFS_MAKE_ARGS += XATTR_SUPPORT=0 +endif ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y) SQUASHFS_DEPENDENCIES += lz4 |