The new module is named ui-sdl.so, following the name scheme of existing block-iscsi.so, etc..
Fam Zheng (3): rules.mak: Don't extract libs from .mo-libs in link command configure: Add CONFIG_SDL2 sdl: Modularize Makefile.objs | 1 + configure | 8 ++++-- include/qemu/module.h | 2 ++ include/ui/console.h | 5 ++-- rules.mak | 2 +- ui/Makefile.objs | 2 ++ ui/sdl-init.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++ ui/sdl.c | 19 ++++++------- ui/sdl2.c | 26 ++++++------------ util/module.c | 6 +++++ vl.c | 5 +++- 11 files changed, 116 insertions(+), 35 deletions(-) create mode 100644 ui/sdl-init.c -- 2.7.4