kbuild: add include linux/kconfig.h in config.h
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 27 Jan 2017 10:00:40 +0000 (11:00 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 28 Jan 2017 13:47:42 +0000 (08:47 -0500)
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>
scripts/Makefile.autoconf

index 2f85eb9599148145cf9b3d38b3acbb0d0b2bbe85..2a967ff6f33a8b2594482fbf1d04b726649a48e0 100644 (file)
@@ -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