[PATCH] boot: fix missing dependency for BOOTMETH_ANDROID
Mattijs Korpershoek
mkorpershoek at kernel.org
Fri Jan 9 09:25:37 CET 2026
Hi,
On Thu, 18 Dec 2025 13:19:07 +0100, Quentin Schulz wrote:
> The code depends on set_avendor_bootimg_addr and set_abootimg_addr
> functions which are only defined in cmd/abootimg.c, only built when
> CMD_ABOOTIMG=y so let's add a dependency.
>
> It should be "depends on" to be properly implemented, but we get a
> circular dependency otherwise:
> boot/Kconfig:566:error: recursive dependency detected!
> boot/Kconfig:566: symbol BOOTMETH_ANDROID depends on CMD_ABOOTIMG
> cmd/Kconfig:504: symbol CMD_ABOOTIMG depends on ANDROID_BOOT_IMAGE
> boot/Kconfig:7: symbol ANDROID_BOOT_IMAGE is selected by BOOTMETH_ANDROID
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] boot: fix missing dependency for BOOTMETH_ANDROID
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/1cd0a441066d3003c63fc90d936f6c4e1b47c896
--
Mattijs
More information about the U-Boot
mailing list