[oe-commits] [openembedded-core] 05/09: linux-libc-headers: Don't do useless configuration

git at git.openembedded.org git at git.openembedded.org
Thu Sep 13 09:46:40 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 116a4133d46b6fdba656769c7be191e7c6dadfaf
Author: Alexey Brodkin <Alexey.Brodkin at synopsys.com>
AuthorDate: Wed Sep 12 20:04:45 2018 +0300

    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 confiuration 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 at synopsys.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 7 ++-----
 1 file 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 05c8255..be215af 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}"
 
 EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}""
 
-do_configure() {
-	oe_runmake allnoconfig
-}
+do_configure[noexec] = "1"
 
-do_compile () {
-}
+do_compile[noexec] = "1"
 
 do_install() {
 	oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list