diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-05 11:14:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-05 11:39:10 +0100 |
commit | fa62058503f5a086837d9839213738049413ad9e (patch) | |
tree | b5f6c873a4902be4eb9db63e8965ef7dc5f0c0c2 | |
parent | d37e927035699e8a7dcdffa687a6adda06fee4e9 (diff) | |
download | ast2050-yocto-poky-fa62058503f5a086837d9839213738049413ad9e.zip ast2050-yocto-poky-fa62058503f5a086837d9839213738049413ad9e.tar.gz |
qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware files, ensure files aren't stripped
(From OE-Core rev: 1c43b7ea6152aaad42159ce8071a4014b00f75fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 11 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_0.14.0.bb | 5 |
2 files changed, 10 insertions, 6 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 18073eb..ac8a3eb 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -38,10 +38,17 @@ do_configure_prepend_virtclass-native() { } do_configure() { - ${S}/configure --prefix=${prefix} ${EXTRA_OECONF} + ${S}/configure --prefix=${prefix} --sysconfdir=${sysconfdir} --disable-strip ${EXTRA_OECONF} chmod a+x ${S}/target-i386/beginend_funcs.sh } +do_install () { + export STRIP="true" + autotools_do_install + install -d ${D}${datadir}/qemu + install -m 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu +} + SRC_URI_append_virtclass-nativesdk = " file://glflags.patch" DEPENDS_virtclass-native = "zlib-native alsa-lib-native" DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk" @@ -53,3 +60,5 @@ BBCLASSEXTEND = "native nativesdk" # Qemu target will not build in world build for ARM or Mips BROKEN_qemuarm = "1" BROKEN_qemumips = "1" + +INSANE_SKIP_${PN} = "arch" diff --git a/meta/recipes-devtools/qemu/qemu_0.14.0.bb b/meta/recipes-devtools/qemu/qemu_0.14.0.bb index ccf5ee4..de12f62 100644 --- a/meta/recipes-devtools/qemu/qemu_0.14.0.bb +++ b/meta/recipes-devtools/qemu/qemu_0.14.0.bb @@ -30,9 +30,4 @@ SRC_URI = "\ SRC_URI[md5sum] = "f9d145d5c09de9f0984ffe9bd1229970" SRC_URI[sha256sum] = "ba21e84d7853217830e167dae9999cdbff481189c6a0bb600ac7fb7201453108" -do_install_append () { - install -d ${D}${datadir}/qemu - install -m 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu -} - S = "${WORKDIR}/qemu-${PV}" |