aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2013-07-11 20:00:04 -0500
committerSaul Wold <sgw@linux.intel.com>2013-07-12 10:12:13 -0700
commitb91d65fc78c18948ed4ec96f34b85c431dbc3d95 (patch)
treecc678e67387421f0a3afd41f71ec1909b3ef0921 /meta/recipes-devtools/qemu
parentb367466287e6b1793c38afce6a9524130c48cf86 (diff)
downloadopenembedded-core-b91d65fc78c18948ed4ec96f34b85c431dbc3d95.tar.gz
qemu: QEMU fix libtool usage
QEMU uses the environment variable LIBTOOL by default. We want to ensure we set it to the proper libtool version, instead of letting it default to the host system version. This corrects target building, and ensures we're linking properly for native and nativesdk versions. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 2d4a345bee..77045dfe68 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -38,6 +38,8 @@ EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disa
--disable-curl \
"
+export LIBTOOL="${HOST_SYS}-libtool"
+
do_configure_prepend_class-native() {
# Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed
sed -i 's/-lX11//g' Makefile.target