summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-libc-headers
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2018-09-12 20:04:45 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-13 17:38:07 +0100
commita7e6f334a1e17eb2de7c914a886b71ffe017c157 (patch)
tree8425ea7adc99c3f154e6e397d3046ecf19070a52 /meta/recipes-kernel/linux-libc-headers
parenta906da83f4ab987e54704b280180832df6dce660 (diff)
downloadpoky-a7e6f334a1e17eb2de7c914a886b71ffe017c157.tar.gz
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 (From OE-Core rev: 681ea847d760e69623b4ed110a6078f37ac3ec63) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index 05c82558e6..be215af9b9 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -53,12 +53,9 @@ S = "${WORKDIR}/linux-${PV}"
53 53
54EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}"" 54EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}""
55 55
56do_configure() { 56do_configure[noexec] = "1"
57 oe_runmake allnoconfig
58}
59 57
60do_compile () { 58do_compile[noexec] = "1"
61}
62 59
63do_install() { 60do_install() {
64 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} 61 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}