]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/qemu: declare target variant before host variant
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Apr 2018 12:15:21 +0000 (14:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 30 Apr 2018 15:43:48 +0000 (17:43 +0200)
commit2ae7b21e0b4d49575dace799424f1dda5f5d2465
tree29c8479abf79eda9d443ebfcb51ca791180158c2
parent7528c47523b0e261aec8d0f34b6f242d72b2c111
package/qemu: declare target variant before host variant

Our package infrastructure uses inheritance of a number of values from
the target package to the host package, which assumes the target
package is defined before the host package. In addition, future
changes are going to make this requirement even more important.

Therefore, let's fix the qemu package so that it declares its target
variant before its host variant, like all other packages in
Buildroot. We handle qemu separately from other packages, because
unlike other packages, it didn't had the "eval" for the host and
target packages at the end of the file, but rather all variables
related to the host variant first, then the call to the package
infrastructure for the host variant, then the variables related to the
target variant, and finally the call to the package infrastructure for
the target variant. We are inverting the order of those two big parts
in this commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qemu/qemu.mk