U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>
Subject: Re: [PATCH 13/14] Update u-boot.cfg to include CFG also
Date: Mon, 24 Jun 2024 12:29:31 -0600	[thread overview]
Message-ID: <20240624182931.GI38804@bill-the-cat> (raw)
In-Reply-To: <20240623203033.1566505-14-sjg@chromium.org>

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

On Sun, Jun 23, 2024 at 02:30:32PM -0600, Simon Glass wrote:

> Some configuration is now in variables with a CFG_ prefix. Add these to
> the .cfg file so that we can see everything in one place. Sort the
> options so they are easier to find and compare.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> 
> Changes in v2:
> - Add new patch to update u-boot.cfg with CFG_... options
> 
>  scripts/Makefile.autoconf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
> index b42f9b525fe..65ff11ea508 100644
> --- a/scripts/Makefile.autoconf
> +++ b/scripts/Makefile.autoconf
> @@ -71,7 +71,7 @@ quiet_cmd_autoconf = GEN     $@
>  quiet_cmd_u_boot_cfg = CFG     $@
>        cmd_u_boot_cfg = \
>  	$(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM include/config.h > $@.tmp && { \
> -		grep 'define CONFIG_' $@.tmp | \
> +		egrep 'define (CONFIG_|CFG_)' $@.tmp | sort | \
>  			sed '/define CONFIG_IS_ENABLED(/d;/define CONFIG_IF_ENABLED_INT(/d;/define CONFIG_VAL(/d;' > $@; \
>  		rm $@.tmp;						\
>  	} || {								\

I don't like this because whereas "CONFIG_" is enforced to be set only
by Kconfig and so always all reliably set and found via a single header,
CFG_ stuff is not.

-- 
Tom

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

  reply	other threads:[~2024-06-24 18:29 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-23 20:30 [PATCH 00/14] testb: Various tweaks and fixes for Labgrid Simon Glass
2024-06-23 20:30 ` [PATCH 01/14] trace: Update test to tolerate different trace-cmd version Simon Glass
2024-06-23 20:30 ` [PATCH 02/14] dm: core: Enhance comments on bind_drivers_pass() Simon Glass
2024-06-23 20:30 ` [PATCH 03/14] initcall: Correct use of relocation offset Simon Glass
2024-06-23 20:30 ` [PATCH 04/14] am33xx: Provide a function to set up the debug UART Simon Glass
2024-06-23 20:30 ` [PATCH 05/14] sunxi: Mark scp as optional Simon Glass
2024-06-24  9:36   ` Andre Przywara
2024-06-24 15:50   ` Dragan Simic
2024-06-23 20:30 ` [PATCH 06/14] google: Disable TPMv2 on most Chromebooks Simon Glass
2024-06-23 20:30 ` [PATCH 07/14] meson: Correct driver declaration for meson_axg_gpio Simon Glass
2024-06-23 20:30 ` [PATCH 08/14] test: Make bootstd init run only on sandbox Simon Glass
2024-06-23 20:30 ` [PATCH 09/14] log: Allow tests to pass with CONFIG_LOGF_FUNC_PAD set Simon Glass
2024-06-23 20:30 ` [PATCH 10/14] test: dm: Show failing driver name Simon Glass
2024-06-23 20:30 ` [PATCH 11/14] test: Decode exceptions only with sandbox Simon Glass
2024-06-23 20:30 ` [PATCH 12/14] test: Check help output Simon Glass
2024-06-23 20:30 ` [PATCH 13/14] Update u-boot.cfg to include CFG also Simon Glass
2024-06-24 18:29   ` Tom Rini [this message]
2024-06-25 12:38     ` Simon Glass
2024-06-25 14:14       ` Tom Rini
2024-06-26  8:00         ` Simon Glass
2024-06-26 14:07           ` Tom Rini
2024-06-27  8:37             ` Simon Glass
2024-06-27 14:42               ` Tom Rini
2024-06-28  7:33                 ` Simon Glass
2024-07-28 19:36                   ` Simon Glass
2024-07-29 18:17                     ` Tom Rini
2024-07-31 14:39                       ` Simon Glass
2024-07-31 17:17                         ` Tom Rini
2024-09-19 14:13                           ` Simon Glass
2024-09-23 20:35                             ` Tom Rini
2024-09-25 12:49                               ` Simon Glass
2024-06-23 20:30 ` [PATCH 14/14] smbios: Correct error handling when writing tables Simon Glass
2024-06-24  4:36   ` Heinrich Schuchardt
2024-06-25 12:30     ` Simon Glass
2024-06-26  9:43 ` (subset) [PATCH 00/14] testb: Various tweaks and fixes for Labgrid Neil Armstrong
2024-07-04 18:50 ` Tom Rini

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=20240624182931.GI38804@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.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