diff options
author | Ross Burton <ross.burton@arm.com> | 2024-01-17 15:07:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-19 00:16:42 +0000 |
commit | eca21ccbc53d106a5f0355b2d4cfe836a2a3aa35 (patch) | |
tree | 88146a2c44489c64ac517f59a010947b48c73cde /meta/recipes-support | |
parent | cb02c049f489faf484cf7cd6366e80250ce2e03c (diff) | |
download | poky-eca21ccbc53d106a5f0355b2d4cfe836a2a3aa35.tar.gz |
libunwind: clean up configuration
Add a PACKAGECONFIG for the support for zlib-compressed debuginfo.
There's no need to explicitly enable reading of .debug_frame segments as
this is enabled automatically for arm/aarch64.
Enable static globally, there's not much to gain by making this
musl-specific.
Don't disable the tests on musl as they verify that libunwind can link,
which is important with external libucontext libraries.
No need to disable documentation on musl, as it's already disabled out
of the box.
(From OE-Core rev: 2752f6a4f8a45afff3366e5aa75672ba6f994a23)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind_1.6.2.bb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-support/libunwind/libunwind_1.6.2.bb b/meta/recipes-support/libunwind/libunwind_1.6.2.bb index d40a2af26d..3208785124 100644 --- a/meta/recipes-support/libunwind/libunwind_1.6.2.bb +++ b/meta/recipes-support/libunwind/libunwind_1.6.2.bb | |||
@@ -21,13 +21,10 @@ COMPATIBLE_HOST:riscv32 = "null" | |||
21 | 21 | ||
22 | PACKAGECONFIG ??= "" | 22 | PACKAGECONFIG ??= "" |
23 | PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz" | 23 | PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz" |
24 | PACKAGECONFIG[zlib] = "--enable-zlibdebuginfo,--disable-zlibdebuginfo,zlib" | ||
24 | PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, latex2man-native" | 25 | PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, latex2man-native" |
25 | 26 | ||
26 | EXTRA_OECONF:arm = "--enable-debug-frame" | 27 | EXTRA_OECONF = "--enable-static" |
27 | EXTRA_OECONF:armeb = "--enable-debug-frame" | ||
28 | EXTRA_OECONF:aarch64 = "--enable-debug-frame" | ||
29 | |||
30 | EXTRA_OECONF:append:libc-musl = " --disable-documentation --disable-tests --enable-static" | ||
31 | 28 | ||
32 | # http://errors.yoctoproject.org/Errors/Details/20487/ | 29 | # http://errors.yoctoproject.org/Errors/Details/20487/ |
33 | ARM_INSTRUCTION_SET:armv4 = "arm" | 30 | ARM_INSTRUCTION_SET:armv4 = "arm" |