From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Marko, Peter" <Peter.Marko@siemens.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [OE-core] [PATCH v3] zstd: add bench, compress, dict, trace to PACKAGECONFIG
Date: Mon, 30 Nov 2026 11:17:48 +0100 [thread overview]
Message-ID: <DN8GVCQDCVK2.V0EY81ZXXCVX@bootlin.com> (raw)
In-Reply-To: <AS8PR10MB5073FC237375C28420C30478FD4E2@AS8PR10MB5073.EURPRD10.PROD.OUTLOOK.COM>
On Mon Nov 30, 2026 at 10:34 AM CET, Peter Marko wrote:
[...]
>> +# Extra configuration tweaks have to be passed in MOREFLAGS when
>> compiling
>> +# zstd, which we define using our PACKAGECONFIG definition.
>> +ZSTD_MOREFLAGS = "\
>> + ${@bb.utils.contains("PACKAGECONFIG", "bench", "", "-DZSTD_NOBENCH",
>> d)} \
>> + ${@bb.utils.contains("PACKAGECONFIG", "compress", "", "-
>> DZSTD_NOCOMPRESS", d)} \
>> + ${@bb.utils.contains("PACKAGECONFIG", "dict", "", "-DZSTD_NODICT", d)} \
>> + ${@bb.utils.contains("PACKAGECONFIG", "trace", "", "-DZSTD_NOTRACE",
>> d)} \
>
> These should be embedded in PACKAGECONFIG instead of adding extra code, e.g.
> PACKAGECONFIG[bench] = ",-DZSTD_NOBENCH"
It doesn't work. Zstd expects these to be passed in MOREFLAGS, as far as I
understand, because passing them directly through the make command is a no-op.
Antonin
prev parent reply other threads:[~2026-11-30 10:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 9:24 [PATCH v3] zstd: add bench, compress, dict, trace to PACKAGECONFIG Antonin Godard
2026-11-30 9:34 ` [OE-core] " Marko, Peter
2026-11-30 10:17 ` Antonin Godard [this message]
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=DN8GVCQDCVK2.V0EY81ZXXCVX@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=Peter.Marko@siemens.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=thomas.petazzoni@bootlin.com \
/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