From 1c43b7ea6152aaad42159ce8071a4014b00f75fc Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 5 Jul 2011 11:14:36 +0100 Subject: qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware files, ensure files aren't stripped Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu.inc | 11 ++++++++++- 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 18073eb4f..ac8a3eb10 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 ccf5ee4f2..de12f6207 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}" -- cgit v1.2.3