Skip to content

Commit

Permalink
package/mtd: add host-acl dependency for host
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Matthew Weber <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
atenart authored and tpetazzoni committed Oct 8, 2020
1 parent dbdcf5c commit c3902e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/mtd/mtd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c3902e6

Please sign in to comment.