From: Liam Beguin <liambeguin@gmail.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: openembedded-core@lists.openembedded.org,
alexandre.belloni@bootlin.com, peter.kjellerstedt@axis.com
Subject: Re: [OE-core] [PATCH v3] meson: make wrapper options sub-command specific
Date: Wed, 12 Oct 2022 18:01:26 -0400 [thread overview]
Message-ID: <Y0c5Ngq/bCoi9KhY@shaak> (raw)
In-Reply-To: <CANNYZj81k8JC1UEGCtujXJjvRgbBw+FBdRYp-qbQSS=i2Xsdtg@mail.gmail.com>
Hi Alex,
On Wed, Oct 12, 2022 at 09:46:46AM +0200, Alexander Kanavin wrote:
> No one seems to have objections, it's that there is no explicit
> confirmation that your patch (or anyone's) is in staging branches, and
> integration is currently on pause for a couple weeks.
Understood, thanks for taking the time to explain.
I'll keep monitoring the tree.
Cheers,
Liam
> Alex
>
> On Tue, 11 Oct 2022 at 23:53, Liam Beguin <liambeguin@gmail.com> wrote:
> >
> > Hi,
> >
> > On Wed, Sep 28, 2022 at 10:50:56PM -0400, Liam Beguin wrote:
> > > The meson-wrapper adds setup options to facilitate cross-compilation.
> > > The current options are exclusive to the setup sub-command and might
> > > cause issues with other sub-commands.
> > >
> > > Update the wrapper to make options sub-command specific.
> > >
> > > Signed-off-by: Liam Beguin <liambeguin@gmail.com>
> > > ---
> > > .../meson/meson/meson-wrapper | 21 +++++++++++++++----
> > > 1 file changed, 17 insertions(+), 4 deletions(-)
> >
> > Any comments on this patch?
> >
> > Cheers,
> > Liam
> >
> > > diff --git a/meta/recipes-devtools/meson/meson/meson-wrapper b/meta/recipes-devtools/meson/meson/meson-wrapper
> > > index c62007f5077e..fca64a569299 100755
> > > --- a/meta/recipes-devtools/meson/meson/meson-wrapper
> > > +++ b/meta/recipes-devtools/meson/meson/meson-wrapper
> > > @@ -5,7 +5,7 @@ if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
> > > fi
> > >
> > > if [ -z "$SSL_CERT_DIR" ]; then
> > > - export SSL_CERT_DIR="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/"
> > > + export SSL_CERT_DIR="$OECORE_NATIVE_SYSROOT/etc/ssl/certs/"
> > > fi
> > >
> > > # If these are set to a cross-compile path, meson will get confused and try to
> > > @@ -13,7 +13,20 @@ fi
> > > # config is already in meson.cross.
> > > unset CC CXX CPP LD AR NM STRIP
> > >
> > > +for arg in "$@"; do
> > > + case "$arg" in
> > > + -*) continue ;;
> > > + *) SUBCMD="$arg"; break ;;
> > > + esac
> > > +done
> > > +
> > > +if [ "$SUBCMD" = "setup" ] || [ -d "$SUBCMD" ]; then
> > > + MESON_SUB_OPTS=" \
> > > + --cross-file="$OECORE_NATIVE_SYSROOT/usr/share/meson/${TARGET_PREFIX}meson.cross" \
> > > + --native-file="$OECORE_NATIVE_SYSROOT/usr/share/meson/meson.native" \
> > > + "
> > > +fi
> > > +
> > > exec "$OECORE_NATIVE_SYSROOT/usr/bin/meson.real" \
> > > - --cross-file "${OECORE_NATIVE_SYSROOT}/usr/share/meson/${TARGET_PREFIX}meson.cross" \
> > > - --native-file "${OECORE_NATIVE_SYSROOT}/usr/share/meson/meson.native" \
> > > - "$@"
> > > + "$@" \
> > > + $MESON_SUB_OPTS
> > >
> > > base-commit: a2659cc2bf5d3f1cedf5c52c3b45e0427d40732d
> > > --
> > > 2.37.1.223.g6a475b71f8c4
> > >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#171643): https://lists.openembedded.org/g/openembedded-core/message/171643
> > Mute This Topic: https://lists.openembedded.org/mt/93987385/1686489
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
next prev parent reply other threads:[~2022-10-12 22:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-29 2:50 [PATCH v3] meson: make wrapper options sub-command specific Liam Beguin
2022-10-11 21:53 ` Liam Beguin
2022-10-12 7:46 ` [OE-core] " Alexander Kanavin
2022-10-12 22:01 ` Liam Beguin [this message]
2022-10-12 22:34 ` Alexandre Belloni
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=Y0c5Ngq/bCoi9KhY@shaak \
--to=liambeguin@gmail.com \
--cc=alex.kanavin@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.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