summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ethtool/ethtool-3.10/run-ptest
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2024-08-12 10:27:56 -0500
committerSteve Sakoman <steve@sakoman.com>2024-08-19 06:09:14 -0700
commita39380d9c94a8c4e1b50c76390b08680ccd5eaaf (patch)
treec4b0ecdfa307e8f39045661a6d1e5cbb3d68b03f /meta/recipes-extended/ethtool/ethtool-3.10/run-ptest
parent52ddff3d59e8d17d449085da500cda60f291d312 (diff)
downloadpoky-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/ethtool/ethtool-3.10/run-ptest')
0 files changed, 0 insertions, 0 deletions