]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: CMD_CPU depends on CPU
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 4 Nov 2020 23:29:11 +0000 (00:29 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 16:58:49 +0000 (11:58 -0500)
commit182559ecd4bdc5257b6eb4376d6b2e6f93d7fad1
tree0add22ab9699801bc3ad483fe028d029c8e58fed
parente34ef11c520ed348b812c2139e9ab3284b114e57
cmd: CMD_CPU depends on CPU

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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig