Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Baruch Siach <baruch@tkos.co.il>
Cc: Arnout Vandecappelle via buildroot <buildroot@buildroot.org>,
	Arnout Vandecappelle <arnout@rnout.be>,
	Mark Corbin <mark@dibsco.co.uk>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH 4/4] arch/Config.in: change default target architecture to AArch64
Date: Fri, 23 Oct 2026 13:23:49 +0200	[thread overview]
Message-ID: <c3ab76847e4dd0d716ea7cbaeeb5e8fa@free.fr> (raw)
In-Reply-To: <87zew6t6is.fsf@tarshish>

Hi Baruch, Arnout,

On 22/10/2026 11:43, Baruch Siach via buildroot wrote:
> Hi Arnout,
> 
> On Thu, Oct 22 2026, Arnout Vandecappelle via buildroot wrote:
>> On 20/10/2026 22:26, Julien Olivain via buildroot wrote:
>>> This commit switches the default target architecture in 
>>> arch/Config.in
>>> from i686 to AArch64. AArch64 is now one of the most common
>>> architecture on embedded Linux systems. The default CPU for this
>>> architecture remains the Cortex-A53 (Armv8.0).
>>> While at it, this commit also refreshes the .defconfig to:
>> 
>>  Do we even need this .defconfig file? Isn't that a leftover from 
>> very, very,
>>  very old Kconfig?
> 
> .defconfig seems to be Buildroot specific:
> 
> support/kconfig/patches/01-kconfig-kernel-to-buildroot.patch:
> Index: kconfig/confdata.c
> ===================================================================
> --- kconfig.orig/confdata.c
> +++ kconfig/confdata.c
> @@ -30,7 +30,7 @@ static void conf_message(const char *fmt
>  static const char *conf_filename;
>  static int conf_lineno, conf_warnings;
> 
> -const char conf_defname[] = "arch/$ARCH/defconfig";
> +const char conf_defname[] = ".defconfig";
> 
>  static void conf_warning(const char *fmt, ...)
>  {

This .defconfig file is still used, when running a simple
"make defconfig". If we remove it then run "make defconfig"
kconfig fails with error:

*** Can't find default configuration ".defconfig"!

Also, we can see that without the patch changing the default arch
to AArch64, running "make defconfig" generates a i686 config.
With the patch, we then have a aarch64 config.

There was indeed ancient leftovers in this .defconfig file.

> 
> baruch
> 
> --
>                                                      ~. .~   Tk Open 
> Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-10-23 11:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-20 20:26 [Buildroot] [PATCH 1/4] Revert "Config.in, Makefile: add BR2_HIDE_SECONDARY_TARGET_OPTIONS" Julien Olivain via buildroot
2026-10-20 20:26 ` [Buildroot] [PATCH 2/4] Revert "arch: mark a set of target configurations as secondary" Julien Olivain via buildroot
2026-10-20 20:26 ` [Buildroot] [PATCH 3/4] utils/genrandconfig: implement secondary configurations filter Julien Olivain via buildroot
2026-10-20 20:26 ` [Buildroot] [PATCH 4/4] arch/Config.in: change default target architecture to AArch64 Julien Olivain via buildroot
2026-10-21 19:37   ` Fiona Klute via buildroot
2026-10-22  9:36   ` Arnout Vandecappelle via buildroot
2026-10-22  9:43     ` Baruch Siach via buildroot
2026-10-23 11:23       ` Julien Olivain via buildroot [this message]
2026-10-24 17:08         ` [Buildroot] [RFC] Makefile: do defconfig with /dev/null instead of .defconfig Arnout Vandecappelle via buildroot
2026-10-24 21:27           ` Thomas Petazzoni via buildroot
2026-10-25  9:13           ` Peter Seiderer via buildroot
2026-10-24 17:18       ` [Buildroot] [PATCH 4/4] arch/Config.in: change default target architecture to AArch64 Arnout Vandecappelle via buildroot
2026-10-25 20:57   ` Thomas Petazzoni via buildroot
2026-10-21 19:23 ` [Buildroot] [PATCH 1/4] Revert "Config.in, Makefile: add BR2_HIDE_SECONDARY_TARGET_OPTIONS" Thomas Petazzoni 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=c3ab76847e4dd0d716ea7cbaeeb5e8fa@free.fr \
    --to=buildroot@buildroot.org \
    --cc=arnout@rnout.be \
    --cc=baruch@tkos.co.il \
    --cc=ju.o@free.fr \
    --cc=mark@dibsco.co.uk \
    --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