diff options
author | Ross Burton <ross.burton@intel.com> | 2019-03-04 17:31:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-04 22:57:05 +0000 |
commit | 062bab22d73e7e968e5c129d2fcea65f74e49084 (patch) | |
tree | 318ff038c286da36b1f8f4f24715881505e966bf | |
parent | 4d994fe150c368b63070801642b5b1940f5b44fa (diff) | |
download | poky-062bab22d73e7e968e5c129d2fcea65f74e49084.tar.gz |
mtd-utils: add lzo PACKAGECONFIG
LZO support is optional so add a PACKAGECONFIG to control this.
Also clean up the xattr PACKAGECONFIG to explicitly enable/disable.
(From OE-Core rev: 69a4dd839b0659c1a04728cf2edd744bd20c012a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_git.bb | 7 |
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 | ||
8 | inherit autotools pkgconfig update-alternatives | 8 | inherit autotools pkgconfig update-alternatives |
9 | 9 | ||
10 | DEPENDS = "zlib lzo e2fsprogs util-linux" | 10 | DEPENDS = "zlib e2fsprogs util-linux" |
11 | RDEPENDS_mtd-utils-tests += "bash" | 11 | RDEPENDS_mtd-utils-tests += "bash" |
12 | 12 | ||
13 | PV = "2.0.2+${SRCPV}" | 13 | PV = "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. |
28 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" | 28 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)} lzo" |
29 | PACKAGECONFIG[xattr] = ",,acl," | 29 | PACKAGECONFIG[lzo] = "--with-lzo,--without-lzo,lzo" |
30 | PACKAGECONFIG[xattr] = "--with-xattr,--without-xattr,acl" | ||
30 | 31 | ||
31 | CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" | 32 | CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" |
32 | 33 | ||