Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Peter Seiderer <ps.report@gmx.net>
Cc: Petr Vorel <petr.vorel@gmail.com>,
	buildroot@busybox.net,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH v1 6/8] support/kconfig: bump to linux-v6.9-rc5 version
Date: Thu, 9 May 2024 12:51:44 +0200	[thread overview]
Message-ID: <ZjyqwNLypWWS21v5@landeda> (raw)
In-Reply-To: <20240508235419.642a8e8d@gmx.net>

Peter, Petr, All,

On 2024-05-08 23:54 +0200, Peter Seiderer via buildroot spake thusly:
> On Wed, 8 May 2024 23:41:44 +0200, Petr Vorel <petr.vorel@gmail.com> wrote:
[--SNIP--]
> > Even with applied patch 7th and 8th (and the others applied previously simple
> > 'make defconfig' fails:
> > 
> > buildroot/output/build/buildroot-config/conf: Kconfig file missing
> > Usage: buildroot/output/build/buildroot-config/conf [options] <kconfig-file>
[--SNIP--]
> Known problem ;-), see cover letter
> > Works for me despite 'make defconfig'...

I think you meant: s/despite/except/

And I think the solution is easy:

    Makefile: always use a base config file for defconfig

    Currently, our bundled kconfig copy does not require that a base
    configuration file, with some non-default set in there, be specified
    for defconfig, and we only pass one if specified by the user.

    Future kconfig versions will require a base config file be always
    specified, so prepare for that: if the user did not specify a base
    config file, use /dev/null, an empty file, to specify there is no
    preset value.

    Reported-by: Petr Vorel <petr.vorel@gmail.com>
    Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>

    diff --git a/Makefile b/Makefile
    index d1caec63b5..a46dd79239 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -1015,7 +1015,7 @@ oldconfig syncconfig olddefconfig: $(BUILD_DIR)/buildroot-config/conf outputmake
     	@$(COMMON_CONFIG_ENV) $< --$@ $(CONFIG_CONFIG_IN)

     defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
    -	@$(COMMON_CONFIG_ENV) $< --defconfig$(if $(DEFCONFIG),=$(DEFCONFIG)) $(CONFIG_CONFIG_IN)
    +	@$(COMMON_CONFIG_ENV) $< --defconfig=$(or $(DEFCONFIG),/dev/null) $(CONFIG_CONFIG_IN)

     %_defconfig: $(BUILD_DIR)/buildroot-config/conf  outputmakefile
     	@defconfig=$(or \

This also works with thecurrnt kconfig version we bundle, so this can be
a preliminray patch.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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

  reply	other threads:[~2024-05-09 10:51 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-06 14:45 [Buildroot] [PATCH v1 0/8] support/kconfig: bump to linux-v6.9-rc5 version Peter Seiderer via buildroot
2024-05-06 14:45 ` [Buildroot] [PATCH v1 1/8] boot/barebox/Config.in: source argument needs quotation marks Peter Seiderer via buildroot
2024-05-26 20:45   ` Peter Korsgaard
2024-05-06 14:45 ` [Buildroot] [PATCH v1 2/8] package/cmocka/Config.in: bool " Peter Seiderer via buildroot
2024-05-26 20:46   ` Peter Korsgaard
2024-05-06 14:45 ` [Buildroot] [PATCH v1 3/8] package/dovecot/Config.in: source " Peter Seiderer via buildroot
2024-05-26 20:46   ` Peter Korsgaard
2024-05-06 14:45 ` [Buildroot] [PATCH v1 4/8] package/python-pydal/Config.in: bool " Peter Seiderer via buildroot
2024-05-26 20:45   ` Peter Korsgaard
2024-05-06 14:45 ` [Buildroot] [PATCH v1 5/8] package/x11r7/Config.in: source " Peter Seiderer via buildroot
2024-05-26 20:46   ` Peter Korsgaard
2024-05-06 14:45 ` [Buildroot] [PATCH v1 6/8] support/kconfig: bump to linux-v6.9-rc5 version Peter Seiderer via buildroot
2024-05-08 21:41   ` Petr Vorel
2024-05-08 21:54     ` Peter Seiderer via buildroot
2024-05-09 10:51       ` Yann E. MORIN [this message]
2024-05-06 14:45 ` [Buildroot] [PATCH v1 7/8] support/kconfig: reference environment variables directly (remove 'option env=') Peter Seiderer via buildroot
2024-05-06 19:06   ` Thomas Petazzoni via buildroot
2024-05-08 14:53     ` Peter Seiderer via buildroot
2024-05-08 19:18       ` Yann E. MORIN
2024-05-06 14:45 ` [Buildroot] [PATCH v1 8/8] package/openssl: move libopenssl/libressl source statemetns outside of the choice Peter Seiderer via buildroot
2024-05-06 20:11   ` Yann E. MORIN
2024-05-08 15:07     ` Peter Seiderer via buildroot
2024-05-08 18:57       ` Yann E. MORIN
2024-05-06 19:04 ` [Buildroot] [PATCH v1 0/8] support/kconfig: bump to linux-v6.9-rc5 version Thomas Petazzoni via buildroot
2024-05-06 20:19   ` Yann E. MORIN
2024-05-06 20:21     ` Thomas Petazzoni via buildroot
2024-05-08 15:21     ` Peter Seiderer via buildroot
2024-05-08 19:08       ` Yann E. MORIN
2024-05-08 15:16   ` Peter Seiderer via buildroot
2025-05-18 14:55 ` Thomas Petazzoni via buildroot
2025-05-21  7:40   ` Peter Seiderer via buildroot

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=ZjyqwNLypWWS21v5@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    --cc=petr.vorel@gmail.com \
    --cc=ps.report@gmx.net \
    --cc=thomas.petazzoni@bootlin.com \
    /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