]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: fix merge_config when LD contains parameters
authorBruce Ashfield <bruce.ashfield@gmail.com>
Fri, 7 Feb 2020 14:52:04 +0000 (09:52 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Feb 2020 13:19:56 +0000 (13:19 +0000)
commita60c4c116efecd7a6ee5a11b1d366bb00b9d23ce
treeb1276941e0df5878fd0664aa715f97eb5484f40f
parent06577d49c50b7e9f1f40fe5b52ec88d1bdc1430c
kern-tools: fix merge_config when LD contains parameters

To ensure that the kernel linker is used when allno/mod/yes config
merge_config steps were executed, the call to make was tweaked to
explicitly pass LD.

But since the variable wasn't quoted, any parameters to LD (like
the sysroot) were mistakenly passed to make, and hence could trigger
an error on some architectures.

We also tweak the logging to hightlight errors like this in the
future and avoid losing it in the noise of merge configs sometimes
overly verbose output.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb