[Buildroot] [RFC] [PATCH v2 2/2] support/kconfig: Bump to kconfig from Linux 4.17-rc2

Petr Vorel petr.vorel at gmail.com
Sun May 20 05:05:40 UTC 2018


Hello Thomas,

> Hello Petr,

> Thanks for looking at the kconfig code update.
Thanks for your review!


> I tested this here, but unfortunately "make menuconfig" fails, because
> it wants <glade/glade.h>, which it shouldn't need as I don't want the
> Gtk-based gconfig. Here is what happens:

> thomas at windsurf:~/projets/buildroot (next)$ make menuconfig
> mkdir -p /home/thomas/projets/buildroot/output/build/buildroot-config/lxdialog
> PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
>     obj=/home/thomas/projets/buildroot/output/build/buildroot-config -C support/kconfig -f Makefile.br mconf
> /usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/home/thomas/projets/buildroot/output/build/buildroot-config -DCONFIG_=\"\"  -MM *.c > /home/thomas/projets/buildroot/output/build/buildroot-config/.depend 2>/dev/null || :
> /usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/home/thomas/projets/buildroot/output/build/buildroot-config -DCONFIG_=\"\"   -c conf.c -o /home/thomas/projets/buildroot/output/build/buildroot-config/conf.o
> /usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/home/thomas/projets/buildroot/output/build/buildroot-config -DCONFIG_=\"\"  `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` -Wno-missing-prototypes -c gconf.c -o /home/thomas/projets/buildroot/output/build/buildroot-config/gconf.o
> Package libglade-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libglade-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'libglade-2.0', required by 'virtual:world', not found
> gconf.c:17:10: fatal error: glade/glade.h: No such file or directory
>  #include <glade/glade.h>
>           ^~~~~~~~~~~~~~~
> compilation terminated.
> make[2]: *** [Makefile.br:34: /home/thomas/projets/buildroot/output/build/buildroot-config/gconf.o] Error 1
> make[1]: *** [Makefile:876: /home/thomas/projets/buildroot/output/build/buildroot-config/mconf] Error 2
> make: *** [Makefile:79: _all] Error 2

> I did not investigate at all, just observed that it didn't work.

Thanks for a bugreport, I'll fix it in v3.

> > Changes v1->v2:
> > * Fix building packages (v1 didn't address change in kernel
> > 911a91c39cab kconfig: rename silentoldconfig to syncconfig)

> > NOTE: I think I should stop using *shipped files (zconf.hash.c_shipped
> > and zconf.lex.c_shipped), to have the same behavior as kernel.
> > What do you think?

> If we were to drop the *shipped files, it means we would have to build
> host-flex and host-bison prior to running any "make *config" command.
> This would be really annoying. Alternatively, we could decide to make
> "flex" and "bison" mandatory dependencies of Buildroot, and rely on the
> user to install them on the system rather than building them ourselves.
> The drawback of this is that we would no longer control which version
> of flex/bison gets used.

Lets keep *shipped files for now.
We can always change it later.

> Best regards,

> Thomas


Kind regards,
Petr


More information about the buildroot mailing list