mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
kbuild: Allow for CONFIG_SYS_CONFIG_NAME to be unset
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>
This commit is contained in:
parent
d49fa3defa
commit
bcd8bce57c
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ vpl/include/autoconf.mk: vpl/u-boot.cfg
|
||||||
define filechk_config_h
|
define filechk_config_h
|
||||||
(echo "/* Automatically generated - do not edit */"; \
|
(echo "/* Automatically generated - do not edit */"; \
|
||||||
echo \#define CFG_BOARDDIR board/$(if $(VENDOR),$(VENDOR)/)$(BOARD);\
|
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 \<asm/config.h\>; \
|
||||||
echo \#include \<linux/kconfig.h\>; \
|
echo \#include \<linux/kconfig.h\>; \
|
||||||
echo \#include \<config_fallbacks.h\>;)
|
echo \#include \<config_fallbacks.h\>;)
|
||||||
|
|
Loading…
Add table
Reference in a new issue