diff options
author | Ryan Eatmon <reatmon@ti.com> | 2024-08-12 10:27:56 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-08-19 06:09:14 -0700 |
commit | a39380d9c94a8c4e1b50c76390b08680ccd5eaaf (patch) | |
tree | c4b0ecdfa307e8f39045661a6d1e5cbb3d68b03f /meta/recipes-extended/tar/tar-replacement-native_1.28.bb | |
parent | 52ddff3d59e8d17d449085da500cda60f291d312 (diff) | |
download | poky-scarthgap.tar.gz |
u-boot.inc: Refactor do_* steps into functions that can be overriddenscarthgap
The looping logic for handling (and not handling) UBOOT_CONFIG has led
to the various do_* functions to be large and unwieldy. In order to
modify one of the functional blocks inside of a loop (or in the else
condition) means you either have to replace the function entirely, or
append the function and undo something it did and then do what you need
for your change.
This refactor breaks out all of the inner loops and else clauses into
new functions that themselves can be overridden without needing to
worry about the bulk of the looping logic.
It should not break any existing recipes doing prepends, appends, or
overrides. None of the functional blocks were changed, just refactored
out into new functions.
Backport from master: https://git.openembedded.org/openembedded-core/commit/?id=937bcc229502fcc154cc676b4fcc93c561873def
(From OE-Core rev: bbb8db8fec7fbee56fcdbc665a758b911d73a767)
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-extended/tar/tar-replacement-native_1.28.bb')
0 files changed, 0 insertions, 0 deletions