All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] cmd: CMD_CPU depends on CPU
@ 2020-11-04 23:29 Heinrich Schuchardt
  2020-11-11 14:32 ` Simon Glass
  2021-01-18 12:59 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2020-11-04 23:29 UTC (permalink / raw)
  To: u-boot

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>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 1595de999b..efc8721b9d 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -113,6 +113,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
--
2.28.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 1/1] cmd: CMD_CPU depends on CPU
  2020-11-04 23:29 [PATCH 1/1] cmd: CMD_CPU depends on CPU Heinrich Schuchardt
@ 2020-11-11 14:32 ` Simon Glass
  2021-01-18 12:59 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2020-11-11 14:32 UTC (permalink / raw)
  To: u-boot

On Wed, 4 Nov 2020 at 16:29, Heinrich Schuchardt <xypron.glpk@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@gmx.de>
> ---
>  cmd/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] cmd: CMD_CPU depends on CPU
  2020-11-04 23:29 [PATCH 1/1] cmd: CMD_CPU depends on CPU Heinrich Schuchardt
  2020-11-11 14:32 ` Simon Glass
@ 2021-01-18 12:59 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-01-18 12:59 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 05, 2020 at 12:29:11AM +0100, Heinrich Schuchardt 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@gmx.de>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/42a5c275/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-18 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 23:29 [PATCH 1/1] cmd: CMD_CPU depends on CPU Heinrich Schuchardt
2020-11-11 14:32 ` Simon Glass
2021-01-18 12:59 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.