On 16 May 2024, at 12:03, Mike Looijmans via lists.openembedded.org
<[email protected]> wrote:
>
> Using scartgap branch, trying to create a kernel recipe for a custom LS1028
> machine.
>
> The recipe in meta-freescale for the ls1028ardb is hopelessly outdated and
> produces a 5.10 kernel.
>
> So for my custom board based on the ls1028 I want to create a recipe that
> builds a mainline kernel (I don't need GPU or fancy things that require
> firmware or special drivers, so mainline should be fine).
>
> I started out trying to get linux-yocto to build for my board, so copied the
> "skeleton" recipe, adjusted a bit (add COMPATIBLE_MACHINE and a defconfig).
>
> But when I then run "bitbake -c menuconfig virtual/kernel" I always get this
> message:
>
> ERROR: linux-yocto-*-6.6+git-r0 do_menuconfig: do_menuconfig is disabled,
> please check KCONFIG_CONFIG_ENABLE_MENUCONFIG variable.
>
> I tried starting with a copy of recipes like linux-fscl, same error. Always.
>
> (note: I've run "menuconfig" a million times by now, for dozens of boards, so
> it's not the system).
>
> I tried adding
> KCONFIG_CONFIG_ENABLE_MENUCONFIG="true"
> to my recipe, but that also had no effect.
>
> The log file also contains no information whatsoever.
>
> What's the real issue?
cml1.bbclass has this:
KCONFIG_CONFIG_ENABLE_MENUCONFIG ??= “true"
…
if not bb.utils.to_boolean(d.getVar("KCONFIG_CONFIG_ENABLE_MENUCONFIG")):
bb.fatal("do_menuconfig is disabled, please check
KCONFIG_CONFIG_ENABLE_MENUCONFIG variable.”)
So if you’re seeing that message then _something_ is assigning that variable to
false. Use bitbake-getvar to identify what that is.
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199482):
https://lists.openembedded.org/g/openembedded-core/message/199482
Mute This Topic: https://lists.openembedded.org/mt/106132236/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-