mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
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>
This commit is contained in:
parent
af033ec8b4
commit
622178d923
@ -122,6 +122,7 @@ config CMD_CONSOLE
|
||||
|
||||
config CMD_CPU
|
||||
bool "cpu"
|
||||
depends on CPU
|
||||
help
|
||||
Print information about available CPUs. This normally shows the
|
||||
number of CPUs, type (e.g. manufacturer, architecture, product or
|
||||
|
Loading…
Reference in New Issue
Block a user