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:18:02 +0100 |
commit | 1c43b7ea6152aaad42159ce8071a4014b00f75fc (patch) | |
tree | 8342bd16eef3e00d01f61e19353aaf55dab3ca06 | |
parent | 77b67e740ae74b49b02fba86198b527b38c22a3d (diff) | |
download | openembedded-core-1c43b7ea6152aaad42159ce8071a4014b00f75fc.tar.gz openembedded-core-1c43b7ea6152aaad42159ce8071a4014b00f75fc.tar.bz2 openembedded-core-1c43b7ea6152aaad42159ce8071a4014b00f75fc.zip |
qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware files, ensure files aren't stripped
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 18073eb4fc..ac8a3eb10d 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 ccf5ee4f2d..de12f62072 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}" |