Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Individual package configs
@ 2024-07-25 15:26 José Mendes
  2024-07-25 16:10 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: José Mendes @ 2024-07-25 15:26 UTC (permalink / raw)
  To: buildroot


[-- Attachment #1.1: Type: text/plain, Size: 244 bytes --]

Hi all,

I've noticed that the configs produced by individual package commands don't
ever get written to the .config.

Is there a way to produce a defconfig with the individual package changes?

I specifically need:
- U-Boot
- swupdate
- linux

[-- Attachment #1.2: Type: text/html, Size: 324 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Buildroot] Individual package configs
  2024-07-25 15:26 [Buildroot] Individual package configs José Mendes
@ 2024-07-25 16:10 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-25 16:10 UTC (permalink / raw)
  To: José Mendes; +Cc: buildroot

Hello,

On Thu, 25 Jul 2024 17:26:51 +0200
José Mendes <jp.baltazar.mendes@gmail.com> wrote:

> I've noticed that the configs produced by individual package commands don't
> ever get written to the .config.
> 
> Is there a way to produce a defconfig with the individual package changes?
> 
> I specifically need:
> - U-Boot
> - swupdate
> - linux

make linux-savedefconfig will take the .config in
output/build/linux-<version>/ and turn it into
output/build/linux-<version>/defconfig

make linux-update-config will take the .config in
output/build/linux-<version>/ and copy it to the location defined by
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE.

make linux-update-defconfig will take the .config in
output/build/linux-<version>/, turn it into a defconfig and copy this
defconfig to the location defined by
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE.

These make targets exist for all packages that use kconfig.
See https://buildroot.org/downloads/manual/manual.html#customize-store-package-config
also, as well
as https://bootlin.com/doc/training/buildroot/buildroot-slides.pdf
starting from slide 75.

Hope this helps!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-25 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25 15:26 [Buildroot] Individual package configs José Mendes
2024-07-25 16:10 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox