Re: [OpenWrt-Devel] [PATCH v2] build: fix make kernel_menuconfig

2019-09-24 Thread Eneas Queiroz
On Tue, Sep 24, 2019 at 7:07 PM Petr Štetiar wrote: > > Eneas Queiroz [2019-09-24 18:28:44]: > > > I've got your patch applied, and it still fails make menuconfig if I > > start from scratch or after make -C scripts/config clean. I haven't > > tried kernel_menuconfig yet--it will have to compile

Re: [OpenWrt-Devel] [PATCH v2] build: fix make kernel_menuconfig

2019-09-24 Thread Petr Štetiar
Eneas Queiroz [2019-09-24 18:28:44]: > I've got your patch applied, and it still fails make menuconfig if I > start from scratch or after make -C scripts/config clean. I haven't > tried kernel_menuconfig yet--it will have to compile a lot of stuff if > I start fresh. Ok, my bad, I can't read pr

Re: [OpenWrt-Devel] [PATCH v2] build: fix make kernel_menuconfig

2019-09-24 Thread Eneas Queiroz
Sorry for the double reply, Peter, this did not make it to the list. On Tue, Sep 24, 2019 at 5:42 PM Petr Štetiar wrote: > > Eneas Queiroz [2019-09-24 17:06:28]: > > Hi, > > > The problem is that when scripts/config/lxdialog/check-lxdialog.sh is run, > > it will still use the staging_dir/host/bi

Re: [OpenWrt-Devel] [PATCH v2] build: fix make kernel_menuconfig

2019-09-24 Thread Petr Štetiar
Eneas Queiroz [2019-09-24 17:06:28]: Hi, > The problem is that when scripts/config/lxdialog/check-lxdialog.sh is run, > it will still use the staging_dir/host/bin/pkg-config script without > STAGING_PREFIX set. it doesn't work like that here, I've just added following into check-lxdialog.sh:

Re: [OpenWrt-Devel] [PATCH v2] build: fix make kernel_menuconfig

2019-09-24 Thread Eneas Queiroz
This is still failing on gentoo. The problem is that when scripts/config/lxdialog/check-lxdialog.sh is run, it will still use the staging_dir/host/bin/pkg-config script without STAGING_PREFIX set. See my suggestion below. On Mon, Sep 23, 2019 at 4:39 AM Petr Štetiar wrote: > > On a recent Gentoo

Re: [OpenWrt-Devel] [PATCH v2] build: fix make kernel_menuconfig

2019-09-23 Thread Stijn Tintel
On 23/09/2019 10:39, Petr Štetiar wrote: On a recent Gentoo Linux installation, invoking `make kernel_menuconfig` in the build system fails, whereas `make menuconfig` in the kernel tree alone works as expected. This is happening because STAGING_PREFIX is not defined when kernel's menuconfig targ

[OpenWrt-Devel] [PATCH v2] build: fix make kernel_menuconfig

2019-09-23 Thread Petr Štetiar
On a recent Gentoo Linux installation, invoking `make kernel_menuconfig` in the build system fails, whereas `make menuconfig` in the kernel tree alone works as expected. This is happening because STAGING_PREFIX is not defined when kernel's menuconfig target calls pkg-config from the toolchain/host