On Fri, 2017-01-20 at 12:12 -0600, Aníbal Limón wrote: > --- a/meta/recipes-devtools/qemu/qemu.inc > +++ b/meta/recipes-devtools/qemu/qemu.inc > @@ -9,12 +9,11 @@ require qemu-targets.inc > inherit autotools ptest > BBCLASSEXTEND = "native nativesdk" > > -PR = "r1" > - > # QEMU_TARGETS is overridable variable > QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc sh4 > x86_64" > > SRC_URI = "\ > + http://wiki.qemu-project.org/download/${BP}.tar.bz2 \ > file://powerpc_rom.bin \ > file://disable-grabs.patch \ > file://exclude-some-arm-EABI-obsolete-syscalls.patch \ > @@ -24,6 +23,9 @@ SRC_URI = "\ > file://0001-target-mips-add-24KEc-CPU-definition.patch \ > " > > +SRC_URI[md5sum] = "a315bc51ed443a08d2cf1416d76b9ab4" > +SRC_URI[sha256sum] = > "68636788eb69bcb0b44ba220b32b50495d6bd5712a934c282217831c4822958f"
Slight misunderstanding, I suppose. The *URL* is independent of the version and could be added in qemu.inc, but the hashes are version dependent and are better suited for qemu_2.7.1.bb. At least that's how I would do it. In contrast to Alexander, I would also keep http://wiki.qemu-project.org/download/${BP}.tar.bz2 in qemu_2.7.1.bb with SRC_URI =+ because then there can be a qemu_git.bb with a different URL than the one above. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core