Skip to contentSkip to conversation

access to bitbake arguments

DISCUSSION [email protected] 1 participant 1 message Mar 2, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 73584559cd1f88812f3ebdd516ed468ab32edb8a.camel@linuxfoundation.org

#1 lore raw

Hi,
What we do is change a environment variable if the recipe name ends with unittest and then

require "conf/${FOO}.conf

Foo could be provided on command line like this

FOO=bar  bitbake something_unittest

and based on recipe name it is either unchanged or appends an "u"

when recipe ends with unittest the resulting FOO should be baru,  variable is also used as override.

I am basically looking list of recipes provided on command line or the dependencies, like pkgs_to_build.

I hope it made sense. It is complicated since we are trying to avoid too big changes to legacy CI engine.

//Stef