[Buildroot] [PATCH 1/2] kconfig/lxdialog: get ncurses CFLAGS with pkg-config

Bjørn Forsman bjorn.forsman at gmail.com
Sun Oct 26 21:45:40 UTC 2014


On 26 October 2014 22:24, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Bjørn Forsman,
>
> On Sun, 26 Oct 2014 22:16:33 +0100, Bjørn Forsman wrote:
>
>> I've tried to re-sync with linux 3.18-rc1. Without luck. Quite
>> frustrating. Something is changed upstream and I don't (yet) manage to
>> fill in the missing bits of Make code to have Buildroot's "make
>> menuconfig" work with these changes.
>
> Argh :/
>
> At some point, Yann E. Morin was very active on the kbuild/kconfig code
> in the upstream Linux kernel. Maybe he can help there?

Sure. For someone familiar with this code, it is probably/hopefully trivial :-)

For a bit of background, it's
support/kconfig/patches/06-br-build-system-integration.patch that
doesn't apply, due to upstream (linux) commit
022af62d0190e1e3db63c19aeb5f51ae0612cd71 removing the code that the
patch touches.

I started out by skipping 06-br-build-system-integration.patch, but
I'm unable to glue the stuff back together. This is what happens now:

$ make menuconfig
mkdir -p /home/bfo/buildroot/output/build/buildroot-config/lxdialog
make CC="/run/current-system/sw/bin/gcc"
HOSTCC="/run/current-system/sw/bin/gcc"
obj=/home/bfo/buildroot/output/build/buildroot-config -C
support/kconfig -f Makefile.br mconf
make[1]: Entering directory `/home/bfo/buildroot/support/kconfig'
make[1]: *** No rule to make target
`/home/bfo/buildroot/output/build/buildroot-config/.tmp_gtkcheck',
needed by `/home/bfo/buildroot/output/build/buildroot-config/gconf.o'.
Stop.
make[1]: Leaving directory `/home/bfo/buildroot/support/kconfig'
make: *** [/home/bfo/buildroot/output/build/buildroot-config/mconf] Error 2

>> Would it be acceptable to add the patch posted in this thread directly
>> to support/kconfig/patches/ instead?
>
> Yes, it is acceptable. Especially if the patch description mentions
> that it's already upstream, it will help when we'll bump the kconfig
> code.

Great! But I'll wait and see if Yann has some inputs before going this route.

Best regards,
Bjørn Forsman


More information about the buildroot mailing list