summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2013-07-11 20:00:04 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-13 18:23:38 +0100
commit5c9281e87bcb301827d019e62d009ff2dec51867 (patch)
tree484185e24038aa3bcd3c3a44690e0ad2d8d48eb3 /meta/recipes-devtools/qemu
parentcaa4130c685f04e2c9ac06126d4a8b09fa161cf6 (diff)
downloadpoky-5c9281e87bcb301827d019e62d009ff2dec51867.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. (From OE-Core rev: b91d65fc78c18948ed4ec96f34b85c431dbc3d95) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
38 --disable-curl \ 38 --disable-curl \
39 " 39 "
40 40
41export LIBTOOL="${HOST_SYS}-libtool"
42
41do_configure_prepend_class-native() { 43do_configure_prepend_class-native() {
42 # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed 44 # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed
43 sed -i 's/-lX11//g' Makefile.target 45 sed -i 's/-lX11//g' Makefile.target