summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2017-01-27 11:00:40 +0100
committerTom Rini <trini@konsulko.com>2017-01-28 08:47:42 -0500
commit4ac96345b22cc8dcd299c6012cc5c80e44058bae (patch)
tree4f9ae3ea8eb068b2da22bb793faa9204290db5be
parentbd42a94268b165a6f298b9ab13be7003e8d96b02 (diff)
kbuild: add include linux/kconfig.h in config.h
Allow to use define CONFIG_IS_ENABLED in include/config_fallbacks.h Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
-rw-r--r--scripts/Makefile.autoconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index 2f85eb95991..2a967ff6f33 100644
--- a/scripts/Makefile.autoconf
+++ b/scripts/Makefile.autoconf
@@ -110,6 +110,7 @@ define filechk_config_h
echo \#include \<config_uncmd_spl.h\>; \
echo \#include \<configs/$(CONFIG_SYS_CONFIG_NAME).h\>; \
echo \#include \<asm/config.h\>; \
+ echo \#include \<linux/kconfig.h\>; \
echo \#include \<config_fallbacks.h\>;)
endef