]> code.ossystems Code Review - openembedded-core.git/commit
linux-libc-headers: Don't do useless configuration
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 12 Sep 2018 17:04:45 +0000 (20:04 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Sep 2018 15:28:26 +0000 (16:28 +0100)
commit681ea847d760e69623b4ed110a6078f37ac3ec63
tree90a1f6d603f99f34cf19f01fa73ad63a0c7929fe
parent5f1895fb94d35a1496f22863791ad6f7a6aca97a
linux-libc-headers: Don't do useless configuration

There's no point in configuring Linux kernel before
headers installation.

Moreover in come cases it might lead to problems on kernels
starting from 4.17 with architecture or platfrom sets
CROSS_COMPILE variable automatically, see [1].

Also note Buildroot doesn't do that kind of configuration as
well, see [2].

And while at it convert empty do_compile to noexec as well.

[1] https://lkml.org/lkml/2018/9/12/486
[2] https://git.buildroot.org/buildroot/tree/package/linux-headers/linux-headers.mk#n106

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc