U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/16] kbuild: Allow for CONFIG_SYS_CONFIG_NAME to be unset
@ 2024-01-22 22:39 Tom Rini
  2024-01-22 22:39 ` [PATCH 02/16] xilinx_mbv: Remove empty config header Tom Rini
                   ` (15 more replies)
  0 siblings, 16 replies; 22+ messages in thread
From: Tom Rini @ 2024-01-22 22:39 UTC (permalink / raw)
  To: u-boot

It is possible to have a platform which does not require a board.h file
to build, but today we need an empty one for our generated config.h file
to be valid. Allow for omitting this file if CONFIG_SYS_CONFIG_NAME is
not set.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 scripts/Makefile.autoconf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index 0ade91642ae3..8208ffe22744 100644
--- a/scripts/Makefile.autoconf
+++ b/scripts/Makefile.autoconf
@@ -113,7 +113,7 @@ vpl/include/autoconf.mk: vpl/u-boot.cfg
 define filechk_config_h
 	(echo "/* Automatically generated - do not edit */";		\
 	echo \#define CFG_BOARDDIR board/$(if $(VENDOR),$(VENDOR)/)$(BOARD);\
-	echo \#include \<configs/$(CONFIG_SYS_CONFIG_NAME).h\>;		\
+	$(if $(CONFIG_SYS_CONFIG_NAME),echo \#include \<configs/$(CONFIG_SYS_CONFIG_NAME).h\> ;) \
 	echo \#include \<asm/config.h\>;				\
 	echo \#include \<linux/kconfig.h\>;				\
 	echo \#include \<config_fallbacks.h\>;)
-- 
2.34.1


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

end of thread, other threads:[~2024-02-27 21:19 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 22:39 [PATCH 01/16] kbuild: Allow for CONFIG_SYS_CONFIG_NAME to be unset Tom Rini
2024-01-22 22:39 ` [PATCH 02/16] xilinx_mbv: Remove empty config header Tom Rini
2024-01-23  7:53   ` Michal Simek
2024-01-23 17:58     ` Tom Rini
2024-01-24  7:19       ` Michal Simek
2024-01-24 13:15         ` Tom Rini
2024-01-22 22:39 ` [PATCH 03/16] coreboot: " Tom Rini
2024-01-22 22:39 ` [PATCH 04/16] bayleybay: " Tom Rini
2024-01-22 22:39 ` [PATCH 05/16] cherryhill: " Tom Rini
2024-01-22 22:39 ` [PATCH 06/16] cougarcanyon2: " Tom Rini
2024-01-22 22:39 ` [PATCH 07/16] crownbay: " Tom Rini
2024-01-22 22:39 ` [PATCH 08/16] edison: " Tom Rini
2024-01-28 13:34   ` Andy Shevchenko
2024-01-22 22:39 ` [PATCH 09/16] efi-x86_app: " Tom Rini
2024-01-22 22:39 ` [PATCH 10/16] efi-x86_payload: " Tom Rini
2024-01-22 22:39 ` [PATCH 11/16] galileo: " Tom Rini
2024-01-22 22:39 ` [PATCH 12/16] minnowmax: " Tom Rini
2024-01-22 22:39 ` [PATCH 13/16] qemu-x86*: " Tom Rini
2024-01-22 22:39 ` [PATCH 14/16] slimbootloader: " Tom Rini
2024-01-22 22:39 ` [PATCH 15/16] hc2910-2aghd05: " Tom Rini
2024-01-22 22:39 ` [PATCH 16/16] Kconfig: Centralize prompting for SYS_CONFIG_NAME Tom Rini
2024-02-27 21:19 ` [PATCH 01/16] kbuild: Allow for CONFIG_SYS_CONFIG_NAME to be unset Tom Rini

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