[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/10] hw/lm32/Kconfig: Have MILKYMIST select LM32_PERIPHERALS
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 04/10] hw/lm32/Kconfig: Have MILKYMIST select LM32_PERIPHERALS |
Date: |
Sun, 31 Jan 2021 12:13:10 +0100 |
The Milkymist board requires more than the PTIMER. Directly
select the LM32_PERIPHERALS. This fixes:
/usr/bin/ld:
libqemu-lm32-softmmu.fa.p/target_lm32_gdbstub.c.o: in function
`lm32_cpu_gdb_read_register':
target/lm32/gdbstub.c:46: undefined reference to `lm32_pic_get_im'
target/lm32/gdbstub.c:48: undefined reference to `lm32_pic_get_ip'
libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function
`helper_wcsr_im':
target/lm32/op_helper.c:107: undefined reference to `lm32_pic_set_im'
libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function
`helper_wcsr_ip':
target/lm32/op_helper.c:114: undefined reference to `lm32_pic_set_ip'
libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function
`helper_wcsr_jtx':
target/lm32/op_helper.c:120: undefined reference to `lm32_juart_set_jtx'
libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function
`helper_wcsr_jrx':
target/lm32/op_helper.c:125: undefined reference to `lm32_juart_set_jrx'
libqemu-lm32-softmmu.fa.p/target_lm32_translate.c.o: in function
`lm32_cpu_dump_state':
target/lm32/translate.c:1161: undefined reference to `lm32_pic_get_ip'
target/lm32/translate.c:1161: undefined reference to `lm32_pic_get_im'
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
hw/lm32/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig
index 5867f4db0cf..38ad22c54e4 100644
--- a/hw/lm32/Kconfig
+++ b/hw/lm32/Kconfig
@@ -6,11 +6,11 @@ config MILKYMIST
bool
# FIXME: disabling it results in compile-time errors
select MILKYMIST_TMU2 if OPENGL && X11
- select PTIMER
select PFLASH_CFI01
select FRAMEBUFFER
select SD
select USB_OHCI
+ select LM32_PERIPHERALS
config LM32_EVR
bool
--
2.26.2
- [PATCH 00/10] target: Provide target-specific Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 01/10] hw/sh4/Kconfig: Rename CONFIG_SH4 -> CONFIG_SH4_PERIPHERALS, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 02/10] hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 03/10] hw/sh4/Kconfig: Rename CONFIG_LM32 -> CONFIG_LM32_PERIPHERALS, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 04/10] hw/lm32/Kconfig: Have MILKYMIST select LM32_PERIPHERALS,
Philippe Mathieu-Daudé <=
- [PATCH 05/10] meson: Introduce target-specific Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 06/10] target/i386: Move SEV feature to target Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 07/10] target/arm: Move V7M feature to target Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 08/10] default-configs: Remove unnecessary SEMIHOSTING selection, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 09/10] target: Move ARM_COMPATIBLE_SEMIHOSTING feature to target Kconfig, Philippe Mathieu-Daudé, 2021/01/31
- [PATCH 10/10] target: Move SEMIHOSTING feature to target Kconfig, Philippe Mathieu-Daudé, 2021/01/31