diff options
author | Ryan Eatmon <reatmon@ti.com> | 2024-08-07 09:44:55 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-09 22:33:38 +0100 |
commit | 469c371e5509399ae0abd991981935be44ec8f39 (patch) | |
tree | d3d21af1ce6058db6cbac9fdc4c139d5ed44fc99 /meta/recipes-support/libcap | |
parent | ea471cf48c80cee728d97c57292c90d2dda4ac6d (diff) | |
download | poky-469c371e5509399ae0abd991981935be44ec8f39.tar.gz |
u-boot.inc: Refactor do_* steps into functions that can be overridden
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.
(From OE-Core rev: 937bcc229502fcc154cc676b4fcc93c561873def)
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap')
0 files changed, 0 insertions, 0 deletions