On 12 November 2015 at 23:39, Christopher Larson <kerg...@gmail.com> wrote:

> diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
> index 315c17f..1f5bbcc 100644
> --- a/meta/classes/qemu.bbclass
> +++ b/meta/classes/qemu.bbclass
> @@ -50,3 +50,8 @@ QEMU_EXTRAOPTIONS_ppc64e5500 = " -cpu e5500"
>  QEMU_EXTRAOPTIONS_ppce6500 = " -cpu e6500"
>  QEMU_EXTRAOPTIONS_ppc64e6500 = " -cpu e6500"
>  QEMU_EXTRAOPTIONS_ppc7400   = " -cpu 7400"
> +
> +python () {
> +    if "QEMU_EXTRAOPTIONS" in d and
> d.expand("QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}") not in d and
> d.getVar("PACKAGE_ARCH", True) != "all":
> +        bb.fatal("Incorrect use of overrides rather than PACKAGE_ARCH for
> QEMU_EXTRAOPTIONS")
> +}
>

I think you meant to split this out.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to