[oe-commits] Khem Raj : autotools.bbclass: Use STAGING_DIR_HOST for libtool sysroot

git version control git at git.openembedded.org
Sun Oct 24 18:14:51 UTC 2010


Module: openembedded.git
Branch: master
Commit: 669ac121adeacd1850f67ab4aa758036f4599135
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=669ac121adeacd1850f67ab4aa758036f4599135

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sun Oct 24 11:08:56 2010 -0700

autotools.bbclass: Use STAGING_DIR_HOST for libtool sysroot

${STAGING_DIR}/${MULTIMACH_HOST_SYS} will point to machine dir
for machine specific recipes like shadow, where it should point
to target sysroot, which is the correct location of sysroot.

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 3d8bcb5..2c27d0f 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -62,7 +62,7 @@ def append_libtool_sysroot(d):
 		if bb.data.getVar('BUILD_SYS', d, 1) == bb.data.getVar('HOST_SYS', d, 1):
 			return '--with-libtool-sysroot'
 		else:
-			return '--with-libtool-sysroot=${STAGING_DIR}/${MULTIMACH_HOST_SYS}'
+			return '--with-libtool-sysroot=${STAGING_DIR_HOST}'
 	return ''
 
 # EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}"





More information about the Openembedded-commits mailing list