]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
baremetal-image: Avoid overriding qemu variables from IMAGE_CLASSES
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>
Thu, 8 Dec 2022 18:43:47 +0000 (11:43 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Dec 2022 13:18:37 +0000 (13:18 +0000)
commit8ed78ec262b2502dc3b673b24a868a3eec616a20
tree294cfee0d78144a70711478629ec9cf90e08357e
parentcf4c11fe2e13ec63c08ded790e4d7b64ce94e4f2
baremetal-image: Avoid overriding qemu variables from IMAGE_CLASSES

Since qemuboot is part of IMAGE_CLASSES via qemu.inc it is being
inherited before we set the QB_FOO variables.
Since our variables have conditional definitions and at that point
they've already been defined by qemuboot, we can no longer define
them in our class.

Move the IMAGE_CLASSES inherit to execute it after we set the
QB_FOO variables to fix booting via runqemu.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-recipe/baremetal-image.bbclass