From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hacl7-0001MC-7M for barebox@lists.infradead.org; Tue, 11 Jun 2019 09:08:02 +0000 Date: Tue, 11 Jun 2019 11:07:58 +0200 From: Sascha Hauer Message-ID: <20190611090758.j5sr7zzgkdibxhbm@pengutronix.de> References: <20190610084704.8996-1-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190610084704.8996-1-yamada.masahiro@socionext.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] kconfig: update to Linux 5.2-rc4 To: Masahiro Yamada Cc: barebox@lists.infradead.org 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox