From: Tom Rini Date: Fri, 27 Jan 2017 19:29:40 -0500 Subject: [U-Boot] [PATCH v5 6/9] kbuild: add include linux/kconfig.h in config.h In-Reply-To: References: <1485511243-736-1-git-send-email-patrick.delaunay73@gmail.com> <1485511243-736-7-git-send-email-patrick.delaunay73@gmail.com> Message-ID: <20170128002940.GQ22316@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Jan 28, 2017 at 05:36:33AM +0900, Masahiro Yamada wrote: > 2017-01-27 19:00 GMT+09:00 Patrick Delaunay : > > From: Patrick Delaunay > > > > Allow to use define CONFIG_IS_ENABLED > > in include/config_fallbacks.h > > > > Signed-off-by: Patrick Delaunay > > Signed-off-by: Patrick Delaunay > > This patch is unneeded. > > include/linux/kconfig.h is forcibly included > from all source files. > > See > > UBOOTINCLUDE := \ > -Iinclude \ > $(if $(KBUILD_SRC), -I$(srctree)/include) \ > -I$(srctree)/arch/$(ARCH)/include \ > -include $(srctree)/include/linux/kconfig.h This patch is needed for HOSTCC: HOSTCC tools/atmel_pmecc_params In file included from include/config.h:9:0, from ../tools/atmel_pmecc_params.c:16: ../include/config_fallbacks.h:58:23: error: missing binary operator before token "(" #if (CONFIG_IS_ENABLED(PARTITION_UUIDS) || \ ^ scripts/Makefile.host:99: recipe for target 'tools/atmel_pmecc_params' failed make[2]: *** [tools/atmel_pmecc_params] Error 1 /home2/trini/u-boot/u-boot/Makefile:1217: recipe for target 'tools' failed -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: