On Thu, Jan 24, 2019 at 02:15:54AM +0100, Philippe Mathieu-Daudé wrote: > Move the complexity of milkymist_tmu2_create() into the > source file. Doing so we avoid to include the X11/OpenGL > headers in all LM32 devices, and we also avoid the duplicate > declaration of glx_fbconfig_attr[] (it is already declared > in hw/display/milkymist-tmu2.c). > Since TYPE_MILKYMIST_TMU2 is now accessible, use it.
Oops, fails the build: LINK lm32-softmmu/qemu-system-lm32 hw/lm32/milkymist.o: In function `milkymist_init': milkymist.c:(.text+0xb0f): undefined reference to `milkymist_tmu2_create' cheers, Gerd