On Tue, 2024-05-21 at 15:57 +0200, Mike Looijmans via lists.openembedded.org wrote: > kernel-fitimage inherited uboot-config, which resulted in failure to > run "menuconfig" on a system that has both multiple u-boot configs and > wants a fitImage kernel. > > Fix the issue by splitting up uboot-config into uboot-config-vars that > only contains the "harmless" variable settings, and inherit that in a > new uboot-config class which contains the Python code to do the U-boot > specific settings. Inherit only uboot-config-vars in kernel-fitimage > so that it has what it needs but doesn't break. > > Fixes: f9e834e31788 "meta: introduce KCONFIG_CONFIG_ENABLE_MENUCONFIG" > Signed-off-by: Mike Looijmans <mike.looijm...@topic.nl> > --- > meta/classes-recipe/kernel-fitimage.bbclass | 2 +- > meta/classes-recipe/uboot-config-vars.bbclass | 95 +++++++++++++++++++ > meta/classes-recipe/uboot-config.bbclass | 80 +--------------- > 3 files changed, 97 insertions(+), 80 deletions(-) > create mode 100644 meta/classes-recipe/uboot-config-vars.bbclass
This looks like it might be a good candidate to move to a file in meta/conf rather than a new class file? We could add any functions needed to lib/oe/ if they can be made suitably generic. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#199645): https://lists.openembedded.org/g/openembedded-core/message/199645 Mute This Topic: https://lists.openembedded.org/mt/106223409/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-