On Mon, Nov 16, 2015 at 8:18 AM, Burton, Ross <ross.bur...@intel.com> wrote:
> 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. > Er, yes, no idea how I missed that when reviewing the diffs. That was meant to stay local. Sorry about that. -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core