summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb18
1 files changed, 16 insertions, 2 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb
index 2ab476a88e..73d0237635 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.11.1.bb
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = " \
13 file://libbtrfsutil/COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \ 13 file://libbtrfsutil/COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \
14" 14"
15SECTION = "base" 15SECTION = "base"
16DEPENDS = "util-linux attr e2fsprogs lzo acl" 16DEPENDS = "lzo util-linux zlib"
17DEPENDS_append_class-target = " udev" 17DEPENDS_append_class-target = " udev"
18RDEPENDS_${PN} = "libgcc" 18RDEPENDS_${PN} = "libgcc"
19 19
@@ -22,16 +22,30 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \
22 file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ 22 file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
23 " 23 "
24 24
25PACKAGECONFIG ??= "python" 25PACKAGECONFIG ??= " \
26 programs \
27 convert \
28 python \
29 crypto-builtin \
30"
26PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, asciidoc-native xmlto-native" 31PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, asciidoc-native xmlto-native"
32PACKAGECONFIG[programs] = "--enable-programs,--disable-programs"
33PACKAGECONFIG[convert] = "--enable-convert --with-convert=ext2,--disable-convert --without-convert,e2fsprogs"
27PACKAGECONFIG[python] = "--enable-python,--disable-python,python3-setuptools-native" 34PACKAGECONFIG[python] = "--enable-python,--disable-python,python3-setuptools-native"
28PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd" 35PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
29 36
37# Pick only one crypto provider
38PACKAGECONFIG[crypto-builtin] = "--with-crypto=builtin"
39PACKAGECONFIG[crypto-libgcrypt] = "--with-crypto=libgcrypt,,libgcrypt"
40PACKAGECONFIG[crypto-libsodium] = "--with-crypto=libsodium,,libsodium"
41PACKAGECONFIG[crypto-libkcapi] = "--with-crypto=libkcapi,,libkcapi"
42
30inherit autotools-brokensep pkgconfig manpages 43inherit autotools-brokensep pkgconfig manpages
31inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'distutils3-base', '', d)} 44inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'distutils3-base', '', d)}
32 45
33CLEANBROKEN = "1" 46CLEANBROKEN = "1"
34 47
48EXTRA_OECONF = "--enable-largefile"
35EXTRA_OECONF_append_libc-musl = " --disable-backtrace " 49EXTRA_OECONF_append_libc-musl = " --disable-backtrace "
36EXTRA_PYTHON_CFLAGS = "${DEBUG_PREFIX_MAP}" 50EXTRA_PYTHON_CFLAGS = "${DEBUG_PREFIX_MAP}"
37EXTRA_PYTHON_CFLAGS_class-native = "" 51EXTRA_PYTHON_CFLAGS_class-native = ""