aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.autoconf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.autoconf')
-rw-r--r--scripts/Makefile.autoconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index 0ade916..8208ffe 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\>;)