summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-02-27 14:14:15 -0500
committerTom Rini <[email protected]>2024-02-27 14:18:55 -0500
commiteec4c0664771e8d95d4a162c8651154566afd320 (patch)
treead3ad10466de3f7746f33d25148a5b81aebf9a6b /scripts
parentd49fa3defa50c6d3f04acbb52fd486c13c14ab6a (diff)
parent3dd1486800d3aa0cff114a34d7dc1cdc3f47c172 (diff)
Merge patch series "kbuild: Allow for CONFIG_SYS_CONFIG_NAME to be unset"
Perform a little re-organization of Kconfig so that we can have CONFIG_SYS_CONFIG_NAME be unset and so not require a "board.h" file. Then go and remove a number of now not required header files.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.autoconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index 0ade91642ae..8208ffe2274 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\>;)