From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] br2-external: make the list of external trees public
Date: Sat, 13 May 2023 12:06:55 +0200 [thread overview]
Message-ID: <20230513100655.GI2582048@scaer> (raw)
In-Reply-To: <912929d06f13459e472f6badf7e9251792b272fe.1676112761.git.yann.morin.1998@free.fr>
All,
On 2023-02-11 11:52 +0100, Yann E. MORIN spake thusly:
> Currently, the list of external trees is a private variable, but for
> debugging or compliance, one may need to get that list.
>
> Add a Kconfig option so that the list appears in the .config file, and
> export the already existing .mk variable in the environment, so that
> post-build or post-image scripts can use it.
>
> Reported-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> support/scripts/br2-external | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/support/scripts/br2-external b/support/scripts/br2-external
> index 2c33e6eacc..5815c6ded0 100755
> --- a/support/scripts/br2-external
> +++ b/support/scripts/br2-external
> @@ -126,7 +126,7 @@ do_mk() {
> done
> printf '\n'
>
> - printf 'BR2_EXTERNAL_NAMES = \n'
> + printf 'export BR2_EXTERNAL_NAMES = \n'
> printf 'BR2_EXTERNAL_DIRS = \n'
> printf 'BR2_EXTERNAL_MKS = \n'
>
> @@ -181,6 +181,14 @@ do_kconfig() {
>
> printf 'menu "External options"\n\n' >>"${outputdir}/.br2-external.in.menus"
>
> + {
> + printf 'config BR2_EXTERNAL_NAMES\n'
> + printf '\tstring\n'
> + # Use star-expansion: we really one a single arg.
> + printf '\tdefault "%s"\n' "${BR2_EXT_NAMES[*]}"
> + printf '\n'
> + } >>"${outputdir}/.br2-external.in.paths"
> +
> for br2_name in "${BR2_EXT_NAMES[@]}"; do
> eval br2_desc="\"\${BR2_EXT_DESCS_${br2_name}}\""
> eval br2_ext="\"\${BR2_EXT_PATHS_${br2_name}}\""
> --
> 2.25.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-05-13 10:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-11 10:52 [Buildroot] [PATCH 0/2] br2-external: export list and versions of used extrenal trees (branch yem/br2-ext-name-ver) Yann E. MORIN
2023-02-11 10:52 ` [Buildroot] [PATCH 1/2] br2-external: make the list of external trees public Yann E. MORIN
2023-05-13 10:06 ` Yann E. MORIN [this message]
2023-02-11 10:52 ` [Buildroot] [PATCH 2/2] br2-external: make version of external trees available Yann E. MORIN
2023-05-13 10:07 ` 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=20230513100655.GI2582048@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
/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.