Re: [PATCH] kconfig: update to Linux 5.2-rc4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sascha,

On Tue, Jun 11, 2019 at 6:08 PM Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
>
> 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?


My bad - I forgot that the nasty 'addtree' is still remaining in barebox.

It is gone from the latest Linux, but we need treewide Makefile cleanups
to kill it.

I just cherry-picked 48f6e3cf5bc6dd0ee00405342ff310c3b1fedb35
to move forward with a minimal change.


-- 
Best Regards
Masahiro Yamada

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux