[gnome-continuous-yocto/gnomeostree-3.22-krogoth: 38/246] bitbake.conf: set READELF for cross compilation



commit 9a1694e242450da6579e5701fa50dd260134cc04
Author: Jeremy Puhlman <jpuhlman mvista com>
Date:   Mon Aug 1 09:02:55 2016 -0700

    bitbake.conf: set READELF for cross compilation
    
    In the case of using an external toolchain that supports multilib
    compilation with a single binary, TARGET_PREFIX is the same for both main
    and multilib abis. Without READELF exported, python3 assumes it is
    either the readelf for ${BUILD_SYS}-readelf. Exporting cross readelf
    fixes the build issue.
    
    checking LDLIBRARY... libpython$(LDVERSION).so
    checking for i586-montavistamllib32-linux-ranlib...
    x86_64-montavista-linux-ranlib
    checking for i586-montavistamllib32-linux-ar...
    x86_64-montavista-linux-ar
    checking for i586-montavistamllib32-linux-readelf... no
    checking for readelf... readelf
    configure: WARNING: using cross tools not prefixed with host triplet
    
    (From OE-Core rev: 3442ee423813d547be7899a25ea31efe719e662f)
    
    (From OE-Core rev: e24b5fe3f04cbb5953ec82f9e4d040f6600012b3)
    
    Signed-off-by: Jeremy Puhlman <jpuhlman mvista com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index e0da14f..71f0b0a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -465,6 +465,7 @@ export OBJCOPY = "${HOST_PREFIX}objcopy"
 export OBJDUMP = "${HOST_PREFIX}objdump"
 export STRINGS = "${HOST_PREFIX}strings"
 export NM = "${HOST_PREFIX}nm"
+export READELF = "${HOST_PREFIX}readelf"
 PYTHON = "${@sys.executable}"
 
 export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]