From: Adrian Freihofer <[email protected]>

Changing a flag of a FIT loadable, e.g. FIT_LOADABLE_LOADADDRESS[atf],
did not rerun do_compile of the FIT image recipe and a stale FIT image
was reused. Add the FIT_LOADABLE_* variables to the do_compile vardeps.

The class also set FIT_LOADABLE_* to synthetic values which were only
there to make the flags visible to the selftests. To drop them,
get_bb_vars learns to read variable flags with the VAR[flag] syntax.
It now reads the values from a tinfoil datastore instead of parsing the
"bitbake -e" output, which is faster. get_bb_var uses the same code,
which also fixes its postconfig handling.

Adrian Freihofer (6):
  kernel-fit-image: add FIT_LOADABLE_* variables to do_compile vardeps
  oeqa/selftest/esdk: pass only the image name to get_bb_vars
  oeqa/utils/commands: use tinfoil in get_bb_vars
  oeqa/utils/commands: support variable flags in get_bb_vars
  oeqa/utils/commands: use the tinfoil helper in get_bb_var
  kernel-fit-image: drop the synthetic FIT_LOADABLE_* values

 meta/classes-recipe/kernel-fit-image.bbclass |  17 ++-
 meta/lib/oeqa/selftest/cases/esdk.py         |   4 +-
 meta/lib/oeqa/selftest/cases/fitimage.py     |  13 +-
 meta/lib/oeqa/utils/commands.py              | 141 ++++++++++---------
 4 files changed, 94 insertions(+), 81 deletions(-)

-- 
2.56.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#248615): 
https://lists.openembedded.org/g/openembedded-core/message/248615
Mute This Topic: https://lists.openembedded.org/mt/121930724/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to