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

Stijn Tintel stijn at linux-ipv6.be
Mon Sep 23 07:13:11 EDT 2019


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 target calls pkg-config from the toolchain/host and thus
> pkg-config returns an empty value, and the fallback values in the kernel
> config script are applied but those are off and the linking fails.
>
> Solution is to use system's pkg-config for kernel_menuconfig target in
> order to provide proper compiler/linker flags.
Tested-by: Stijn Tintel <stijn at linux-ipv6.be>

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list