From: ross.burton@arm.com
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 4/4] libunwind: clean up configuration
Date: Wed, 17 Jan 2024 15:07:20 +0000 [thread overview]
Message-ID: <20240117150720.3585669-4-ross.burton@arm.com> (raw)
In-Reply-To: <20240117150720.3585669-1-ross.burton@arm.com>
From: Ross Burton <ross.burton@arm.com>
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.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta/recipes-support/libunwind/libunwind_1.6.2.bb | 7 ++-----
1 file 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 d40a2af26d3..3208785124a 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"
PACKAGECONFIG ??= ""
PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz"
+PACKAGECONFIG[zlib] = "--enable-zlibdebuginfo,--disable-zlibdebuginfo,zlib"
PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, latex2man-native"
-EXTRA_OECONF:arm = "--enable-debug-frame"
-EXTRA_OECONF:armeb = "--enable-debug-frame"
-EXTRA_OECONF:aarch64 = "--enable-debug-frame"
-
-EXTRA_OECONF:append:libc-musl = " --disable-documentation --disable-tests --enable-static"
+EXTRA_OECONF = "--enable-static"
# http://errors.yoctoproject.org/Errors/Details/20487/
ARM_INSTRUCTION_SET:armv4 = "arm"
--
2.34.1
next prev parent reply other threads:[~2024-01-17 15:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 15:07 [PATCH 1/4] musl: doesn't support riscv32 ross.burton
2024-01-17 15:07 ` [PATCH 2/4] libunwind: merge .inc and .bb ross.burton
2024-01-17 17:19 ` [OE-core] " Etienne Cordonnier
2024-01-17 17:25 ` Ross Burton
2024-01-17 22:37 ` Etienne Cordonnier
2024-01-17 15:07 ` [PATCH 3/4] libunwind: refresh patches ross.burton
2024-01-17 15:07 ` ross.burton [this message]
2024-01-17 17:51 ` [OE-core] [PATCH 1/4] musl: doesn't support riscv32 Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240117150720.3585669-4-ross.burton@arm.com \
--to=ross.burton@arm.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox