summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc23
1 files changed, 19 insertions, 4 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 1857786917..72430cc6fd 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -26,9 +26,24 @@ SRC_URI_append_class-native = "\
26 file://cpus.c-qemu_cpu_kick_thread_debugging.patch \ 26 file://cpus.c-qemu_cpu_kick_thread_debugging.patch \
27 " 27 "
28 28
29EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --with-system-pixman --extra-cflags='${CFLAGS}'" 29EXTRA_OECONF = " \
30 30 --prefix=${prefix} \
31EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror" 31 --bindir=${bindir} \
32 --includedir=${includedir} \
33 --libdir=${libdir} \
34 --mandir=${mandir} \
35 --datadir=${datadir} \
36 --docdir=${docdir}/${BPN} \
37 --sysconfdir=${sysconfdir} \
38 --libexecdir=${libexecdir} \
39 --localstatedir=${localstatedir} \
40 --with-confsuffix=/${BPN} \
41 --disable-strip \
42 --disable-werror \
43 --target-list=${@get_qemu_target_list(d)} \
44 --with-system-pixman \
45 --extra-cflags='${CFLAGS}' \
46 "
32EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2" 47EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2"
33 48
34EXTRA_OEMAKE_append_class-native = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" 49EXTRA_OEMAKE_append_class-native = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"
@@ -62,7 +77,7 @@ do_configure() {
62 KVMOPTS="${KVMENABLE}" 77 KVMOPTS="${KVMENABLE}"
63 fi 78 fi
64 79
65 ${S}/configure --prefix=${prefix} --sysconfdir=${sysconfdir} --libexecdir=${libexecdir} --localstatedir=${localstatedir} --disable-strip ${EXTRA_OECONF} $KVMOPTS 80 ${S}/configure ${EXTRA_OECONF} $KVMOPTS
66 test ! -e ${S}/target-i386/beginend_funcs.sh || chmod a+x ${S}/target-i386/beginend_funcs.sh 81 test ! -e ${S}/target-i386/beginend_funcs.sh || chmod a+x ${S}/target-i386/beginend_funcs.sh
67} 82}
68 83