I encountered the same issue and posted a patch, you might want to try that out.

See:
https://patchwork.yoctoproject.org/project/oe-core/patch/20240521135705.444470-1-mike.looijm...@topic.nl/#19364

On 24-07-2024 20:28, John Ripple via lists.openembedded.org wrote:
Hi, I've found a bug in the kernel-fitimage.bbclass when it uses the uboot-config.bbclass. The Yocto bugzilla wouldn't let me create an account to report it so I thought I would at least post it here.

On the Scarthgap 5.0.0 Yocto release, the kernel-fitimage.bbclass inherits the uboot-config.bbclass (both in openembedded-core/meta/classes-recipes). This is normally fine but if you are building multiple uboot configs then the uboot-config.bbclass disables the menuconfig for the recipe. This is a good idea when you're building uboot since you don't know what menuconfig to use, but since the kernel inherits this class too, the kernel menuconfig task gets disabled as well.

Steps to reproduce:
1. Set UBOOT_CONFIG to have multiple configs (I did this in my machine file).
UBOOT_CONFIG ??= "uboot-a uboot-b"
2. bitbake virtual/kernel -c menuconfig
    ERROR: linux-fslc-imx-6.6.28+git-r0 do_menuconfig: do_menuconfig is disabled, please check KCONFIG_CONFIG_ENABLE_MENUCONFIG variable.     ERROR: Logfile of failure stored in: /extra/temp/tlo-p700-seval-build/build/tmp/work/p700_quad-keysight-linux/linux-fslc-imx/6.6.28+git/temp/log.do_menuconfig.995135     ERROR: Task (/extra/temp/tlo-p700-seval-build/build/../layers/meta-freescale/recipes-kernel/linux/linux-fslc-imx_6.6.bb:do_menuconfig) failed with exit code '1'
...


--
Mike Looijmans
System Expert

TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijm...@topic.nl
W: www.topic.nl



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#202518): 
https://lists.openembedded.org/g/openembedded-core/message/202518
Mute This Topic: https://lists.openembedded.org/mt/107528874/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to