From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 01/10] core: do not hard-code inclusion of br2-external in Kconfig
Date: Sun, 25 Sep 2016 19:32:02 +0200 [thread overview]
Message-ID: <20160925173202.GA3396@free.fr> (raw)
In-Reply-To: <1a24bc3d-bbfc-95aa-5f1f-904b695000cc@gmail.com>
Romain, All,
On 2016-09-25 19:21 +0200, Romain Naour spake thusly:
> Le 25/09/2016 ? 16:52, Yann E. MORIN a ?crit :
> > Move the inclusion of br2-external's Config.in to the generated kconfig
> > snippet.
> >
> > This will ultimately allow us to use more than one br2-external tree.
> >
> > Offload the "User-provided options" menu to the generated Kconfig
> > snippet. We can also move the definition of the Kconfig-version of
> > BR2_EXTERNAL into this snippet.
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > Cc: Arnout Vandecappelle <arnout@mind.be>
> > Cc: Romain Naour <romain.naour@openwide.fr>
[--SNIP--]
> > diff --git a/support/scripts/br2-external b/support/scripts/br2-external
> > new file mode 100755
> > index 0000000..c15c21c
> > --- /dev/null
> > +++ b/support/scripts/br2-external
> > @@ -0,0 +1,85 @@
> > +#!/bin/bash
> > +set -e
[--SNIP--]
> > +# Validates the br2-external tree passed as argument. Makes it cannonical
> > +# and store it in global variable BR2_EXT.
> > +do_validate() {
> > + local br2_ext="${1}"
> > +
> > + if [ ! -d "${br2_ext}" ]; then
> > + error "'%s': no such file or directory\n" "${br2_ext}"
> > + fi
> > +
> > + BR2_EXT="$(cd "${br2_ext}"; pwd -P )"
>
> br2_ext can be a directory on which we may not have access, so cd will fail here.
You really want to find a reason for me to respin this series so it gets
in patchwork, don't you? ;-)
Indeed, that would return Buildroot's top directory, which is not
correct.
Thanks for noticing.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2016-09-25 17:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-25 14:52 [Buildroot] [PATCH 00/10 v5] br2-external: support multiple trees at once Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 01/10] core: do not hard-code inclusion of br2-external in Kconfig Yann E. MORIN
2016-09-25 17:21 ` Romain Naour
2016-09-25 17:32 ` Yann E. MORIN [this message]
2016-09-25 14:52 ` [Buildroot] [PATCH 02/10] core: get rid of our dummy br2-external tree Yann E. MORIN
2016-09-25 17:44 ` Romain Naour
2016-09-25 14:52 ` [Buildroot] [PATCH 03/10] core: offload handling of BR2_EXTERNAL into the script Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 04/10] core/br2-external: validate even more Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 05/10] core: introduce per br2-external NAME Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 06/10] docs/manual: document the " Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 07/10] docs/manual: add appendix to convert old br2-external trees Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 08/10] core: add support for multiple " Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 09/10] docs/manual: document multi br2-external Yann E. MORIN
2016-09-25 14:52 ` [Buildroot] [PATCH 10/10] core: allow a br2-external tree to override a defconfig Yann E. MORIN
2016-09-27 21:07 ` [Buildroot] [PATCH 00/10 v5] br2-external: support multiple trees at once Arnout Vandecappelle
2016-09-27 21:35 ` Yann E. MORIN
-- strict thread matches above, loose matches on Subject: below --
2016-10-02 9:09 [Buildroot] [PATCH 00/10 v6] " Yann E. MORIN
2016-10-02 9:09 ` [Buildroot] [PATCH 01/10] core: do not hard-code inclusion of br2-external in Kconfig Yann E. MORIN
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=20160925173202.GA3396@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.