[PATCH 1/1] cmd: CMD_CPU depends on CPU

Simon Glass sjg at chromium.org
Wed Nov 11 15:32:08 CET 2020


On Wed, 4 Nov 2020 at 16:29, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Compiling with CONFIG_CMD_CPU=y and CONFIG_CPU=n fails with:
>
> aarch64-linux-gnu-ld.bfd: cmd/built-in.o: in function `print_cpu_list':
> /home/user/u-boot/cmd/cpu.c:34: undefined reference to `cpu_get_desc'
> aarch64-linux-gnu-ld.bfd:
> /home/user/u-boot/cmd/cpu.c:39: undefined reference to `cpu_get_info'
> Segmentation fault (core dumped)
> make: *** [Makefile:1757: u-boot] Error 139
> make: *** Deleting file 'u-boot'
>
> See error report in https://stackoverflow.com/questions/64678347.
>
> Add the missing build dependency.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  cmd/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list