mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] Compile boards only when firmware is present
@ 2023-04-26  9:03 Sascha Hauer
  2023-04-26  9:03 ` [PATCH 1/3] Kconfig: source Kconfig.include earlier Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2023-04-26  9:03 UTC (permalink / raw)
  To: Barebox List

We have recently introduced ARM multi_*_defconfig files to compile
for multiple SoC families in a single config. Before these can
successfully be compiled a bunch of firmware files need to be present
in the source tree. This can be inconvenient for users as they have
to grab the firmware files from several sources before they can
compile these configs, even though they might be only interested
in a single board.

To solve this make the boards depending on a firmware file selectable
only when the firmware is actually present. With this the
multi_*_defconfigs can always be built. Boards with missing firmware
files will be skipped from compilation automatically.

The next step might be to introduce a Kconfig option (or use existing
COMPILE_TEST option) to provide dummy files for the missing firmware
files which could help for compile testing.

Sascha

Sascha Hauer (3):
  Kconfig: source Kconfig.include earlier
  ARM: Rockchip: make boards only selectable when firmware is present
  ARM: i.MX: make boards selectable only when firmware files are present

 Kconfig                        |  2 +
 arch/arm/mach-imx/Kconfig      | 74 ++++++++++++++++++++++------------
 arch/arm/mach-rockchip/Kconfig | 11 +++--
 firmware/Kconfig               | 21 ++++++++++
 lib/kasan/Kconfig              |  2 -
 5 files changed, 80 insertions(+), 30 deletions(-)

-- 
2.39.2




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

end of thread, other threads:[~2023-04-26  9:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-26  9:03 [PATCH 0/3] Compile boards only when firmware is present Sascha Hauer
2023-04-26  9:03 ` [PATCH 1/3] Kconfig: source Kconfig.include earlier Sascha Hauer
2023-04-26  9:03 ` [PATCH 2/3] ARM: Rockchip: make boards only selectable when firmware is present Sascha Hauer
2023-04-26  9:03 ` [PATCH 3/3] ARM: i.MX: make boards selectable only when firmware files are present Sascha Hauer

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