mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jon Ringle <jon@ringle.org>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] gdb python support
Date: Fri, 23 Feb 2018 09:20:57 -0500	[thread overview]
Message-ID: <CAMwGMjzd0Txrxn3e-1KyuHy3_k8zN_=Vw2wZ4o+cTXOMbhJSGQ@mail.gmail.com> (raw)
In-Reply-To: <20180222221028.v6f7fyrd3mrkqh7k@pengutronix.de>


[-- Attachment #1.1: Type: text/plain, Size: 1086 bytes --]

>
> > > > 4) rules/cross-gdb.make has the following, but I do not have
> > > > CROSS_GDB_WITHOUT_PYTHON set at all in my environment:
> > >
> > > Are you using build_all_v2.mk or build_one.sh? Then
> > > CROSS_GDB_WITHOUT_PYTHON is set to 'y' by default.
> > >
> > >
> > Ok. I see that there now. It would be nice if this default was
> consistent.
> > Reading the `cross-gdb.make` it appears that the default is with python,
> > but the `build_all_v2.mk` has the default the opposite. Can we pick a
> > default and stick to it?
>
> It's just a hack from a long time ago when the dependency handling was
> broken. I just never bothered to change this. Patches are welcome.
>
>
I'd be happy to create a patch. Which way is preferable?
1) default --without-python and require an "opt-in" for
--with-python=python3
or
2) default --with-python=python3 and require an "opt-out" for
--without-python

If 1) is preferred, is it ok to rename CROSS_GDB_WITHOUT_PYTHON =>
CROSS_GDB_WITH_PYTHON?
The reason is that we'd want the non-existence of the env variable to be
applied as the default

-Jon

[-- Attachment #1.2: Type: text/html, Size: 5410 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-02-23 14:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 19:05 Jon Ringle
2018-02-22 20:34 ` Michael Olbrich
2018-02-22 20:57   ` Jon Ringle
2018-02-22 22:10     ` Michael Olbrich
2018-02-23 14:20       ` Jon Ringle [this message]
2018-02-23 14:24         ` Tim Sander

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='CAMwGMjzd0Txrxn3e-1KyuHy3_k8zN_=Vw2wZ4o+cTXOMbhJSGQ@mail.gmail.com' \
    --to=jon@ringle.org \
    --cc=ptxdist@pengutronix.de \
    /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