public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: Wolfgang Denk <wd@denx.de>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	Joe Hershberger <joe.hershberger@ni.com>
Subject: Re: [PATCH v5 3/5] env: Allow U-Boot scripts to be placed in a .env file
Date: Tue, 5 Oct 2021 11:52:33 -0400	[thread overview]
Message-ID: <20211005155233.GY31748@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ3WVvso8uSeKyiOg6oR_R=nkguGZYXGb9Ws-s5dmO5GmQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]

On Tue, Oct 05, 2021 at 09:33:18AM -0600, Simon Glass wrote:
> Hi Wolfgang,
> 
> On Tue, 5 Oct 2021 at 08:56, Wolfgang Denk <wd@denx.de> wrote:
> >
> > Dear Simon,
> >
> > In message <CAPnjgZ1tRi5SsqU0K8HXgj-4xCs7i9TLX4Mj0_D=Cpj8BAn32w@mail.gmail.com> you wrote:
> > >
> > > > > Add a feature that brings in a .env file associated with the board
> > > > > config, if present. To use it, create a file in a board/<vendor>/env
> > > > > directory called <board>.env (or common.env if you want the same
> > > > > environment for all boards).
> > > >
> > > > This should be no exclusive "or" here. If a common.env exists, it
> > > > should be used for all boards, and if additionally one ore more
> > > > <board>.env files exist, these should ALSO be applied to the
> > > > respective boards.
> > >
> > > Is it not enough to use #include in the main file? We have a similar
> > > feature with the u-boot.dtsi files and in that case we only choose the
> > > most specific.
> >
> > 1) This requires that the .env files are run through CPP, which is
> >    only added in a later patch.
> 
> OK perhaps I should just merge the patches. It is a bit artificial
> having two and it seems that people agree we need the += syntax.

It's important to maintain bisectability, yes.  But functionality
should be evaluated at the end of the series, not intermediate steps.  I
don't have a strong opinion either way on if these two patches are
merged, or not.  So on a similar note, all of the feedback about the
current env documentation is good and helpful, but I think a txt -> rST
then enhance the rST makes the most sense so that we don't "hide"
improvements within the migration.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2021-10-05 15:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02  0:38 [PATCH v5 0/5] env: Allow environment in text files Simon Glass
2021-10-02  0:38 ` [PATCH v5 1/5] sandbox: Drop distro_boot Simon Glass
2021-10-02  0:38 ` [PATCH v5 2/5] doc: Move environment documentation to rST Simon Glass
2021-10-04 12:05   ` Wolfgang Denk
2021-10-02  0:38 ` [PATCH v5 3/5] env: Allow U-Boot scripts to be placed in a .env file Simon Glass
2021-10-04  7:28   ` Rasmus Villemoes
2021-10-04 15:38     ` Tom Rini
2021-10-05 14:42     ` Simon Glass
2021-10-04 12:08   ` Wolfgang Denk
2021-10-05 14:42     ` Simon Glass
2021-10-05 14:55       ` Wolfgang Denk
2021-10-05 15:33         ` Simon Glass
2021-10-05 15:52           ` Tom Rini [this message]
2021-10-05 17:27             ` Simon Glass
2021-10-06  7:08           ` Wolfgang Denk
2021-10-02  0:38 ` [PATCH v5 4/5] env: Allow environment files to use the C preprocessor Simon Glass
2021-10-04 12:12   ` Wolfgang Denk
2021-10-02  0:38 ` [PATCH v5 5/5] sandbox: Use a text-based environment Simon Glass

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=20211005155233.GY31748@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=joe.hershberger@ni.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=wd@denx.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