[PATCH] kconfig: update to Linux 5.2-rc4

Sascha Hauer s.hauer at pengutronix.de
Tue Jun 11 02:07:58 PDT 2019


Hi,
On Mon, Jun 10, 2019 at 05:47:04PM +0900, Masahiro Yamada wrote:
> The previous sync was Linux 4.20. This updates Kconfig to Linux 5.2-rc4.
> 
> I adjusted the top Makefile as well because Linux commit 058507195b53
> ("kbuild: move ".config not found!" message from Kconfig to Makefile")
> moved the .config check from Kconfig to Makefile.
> 
> I also made auto.conf a mandatory include file, and remove it from the
> prerequisites of other targets. We are safe because Make is immediately
> terminated when syncconfig fails to generate auto.conf.

This doesn't work with out of tree builds, but it looks like it's not the
fault of this series make menuconfig fails with:

gcc -Wp,-MD,scripts/kconfig/.parser.tab.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer /full/path/omitted/barebox/scripts/kconfig -c -o
scripts/kconfig/parser.tab.o scripts/kconfig/parser.tab.c
scripts/kconfig/parser.tab.c:79:10: fatal error: lkc.h: No such file or directory

As you can see the -I is missing before the "/full/path/..." string.

With this change:

-HOSTCFLAGS_lexer.lex.o := -I $(srctree)/$(src)
-HOSTCFLAGS_parser.tab.o        := -I $(srctree)/$(src)
+HOSTCFLAGS_lexer.lex.o := -I$(srctree)/$(src)
+HOSTCFLAGS_parser.tab.o        := -I$(srctree)/$(src)

it works as expected. I have no idea why this is happening. Could you
have a look?

Thanks
 Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list