summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_git.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb
index f53c6c1122..9ffac2ed3a 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_git.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
7 7
8inherit autotools pkgconfig update-alternatives 8inherit autotools pkgconfig update-alternatives
9 9
10DEPENDS = "zlib lzo e2fsprogs util-linux" 10DEPENDS = "zlib e2fsprogs util-linux"
11RDEPENDS_mtd-utils-tests += "bash" 11RDEPENDS_mtd-utils-tests += "bash"
12 12
13PV = "2.0.2+${SRCPV}" 13PV = "2.0.2+${SRCPV}"
@@ -25,8 +25,9 @@ EXTRA_OECONF += "--enable-install-tests"
25# xattr support creates an additional compile-time dependency on acl because 25# xattr support creates an additional compile-time dependency on acl because
26# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr 26# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr
27# regardless whether acl is enabled or disabled in the distro should be okay. 27# regardless whether acl is enabled or disabled in the distro should be okay.
28PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" 28PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)} lzo"
29PACKAGECONFIG[xattr] = ",,acl," 29PACKAGECONFIG[lzo] = "--with-lzo,--without-lzo,lzo"
30PACKAGECONFIG[xattr] = "--with-xattr,--without-xattr,acl"
30 31
31CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" 32CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT"
32 33