]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/testexport: move to classes-recipe
authorRoss Burton <ross.burton@arm.com>
Wed, 9 Nov 2022 19:31:35 +0000 (19:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Nov 2022 13:43:37 +0000 (13:43 +0000)
commit87fcee9fed915ff3af528b976d7d44737f9f1a95
tree9e0ba7caa946d1e409f64e57afe034ec2b3c1c3f
parent1ce83c6b22e5835d8fe3f733f40207526c6771d4
classes/testexport: move to classes-recipe

This class should be in classes-recipe as, like testimage, it is specific
to image recipes.

This also solves a regression where simply IMAGE_CLASSES += "testexport"
doesn't work if testimage isn't already in IMAGE_CLASSES. The testexport
class adds testimage to IMAGE_CLASSES, but by this point it's too late.
Now that the class can only be inherited via IMAGE_CLASSES, we can
simply inherit testimage directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-recipe/testexport.bbclass [moved from meta/classes/testexport.bbclass with 98% similarity]