diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-02-21 23:56:26 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-03-09 22:37:08 +0100 |
commit | 32d1fd8d39475bc9ed7d3b5f1a666cce7f1d5fc2 (patch) | |
tree | d3926327e18419d5dcfa02d79202b66ad488282f /hw/lm32 | |
parent | 8ee08a6a282f4bbdd79744cad79aa87121db2e03 (diff) | |
download | qemu-32d1fd8d39475bc9ed7d3b5f1a666cce7f1d5fc2.zip qemu-32d1fd8d39475bc9ed7d3b5f1a666cce7f1d5fc2.tar.gz qemu-32d1fd8d39475bc9ed7d3b5f1a666cce7f1d5fc2.tar.bz2 |
hw/lm32/Kconfig: Have MILKYMIST select LM32_DEVICES
The Milkymist board requires more than the PTIMER. Directly
select the LM32_DEVICES. 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'
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210221225626.2589247-4-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/lm32')
-rw-r--r-- | hw/lm32/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig index 518c84e..8ac9420 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_DEVICES config LM32_EVR bool |