[oe] [PATCH] autotools.bbclass: Specify a value of sysroot instead of asking the compiler
Khem Raj
raj.khem at gmail.com
Fri Oct 22 22:12:18 UTC 2010
If we just use --with-libtool-sysroot then it asks the compiler at
configure time to supply the sysroot which will not work with external
toolchains because they may have different default sysroot encoded into
them. Therefore we specify the sysroot so the configure can use that
value and not depend upon compiler to supply one.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
classes/autotools.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 97bc47c..21e0c9a 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -76,7 +76,7 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
--oldincludedir=${oldincludedir} \
--infodir=${infodir} \
--mandir=${mandir} \
- ${@["","--with-libtool-sysroot"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
+ ${@["","--with-libtool-sysroot=${STAGING_DIR}/${MULTIMACH_HOST_SYS}"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
"
oe_runconf () {
--
1.7.1
More information about the Openembedded-devel
mailing list