aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Antoine Tenart <antoine.tenart@bootlin.com>2020-10-08 11:08:35 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-10-10 22:52:28 +0200
commit7c38dfb58eee1c235d4d5444c7ad3dd56a35b895 (patch)
tree385560f6ea3c74ac8e55a3fab76b0b4b6029e200
parent187186fc1070d0137b6d73981555780201fcd41a (diff)
downloadbuildroot-7c38dfb58eee1c235d4d5444c7ad3dd56a35b895.tar.gz
buildroot-7c38dfb58eee1c235d4d5444c7ad3dd56a35b895.tar.bz2
package/mtd: add host-acl dependency for host
When compiling the host version of mtd, --with-jffs and --with-ubifs are always set, meaning --with-xattr is set by default. The xattr support only work if 'sys/acl.h' is available, otherwise the feature is silently dropped (a warning is shown during the configuration step). This patch adds a dependency on host-acl for host-mtd, so that the xattr feature is correctly supported. Logic to have xattr support is already there and working for the non-host flavour. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit c3902e6e2e8ff5fe6a516b060819c60951c406f4) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/mtd/mtd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 1186fa52d5..9f259b35d9 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -53,7 +53,7 @@ else
MTD_CONF_OPTS += --without-xattr
endif
-HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux host-zstd
+HOST_MTD_DEPENDENCIES = host-acl host-zlib host-lzo host-util-linux host-zstd
HOST_MTD_CONF_OPTS = \
--with-jffs \
--with-ubifs \