modules: add ui module annotations
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-12-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
be4bf77c9c
commit
b36ae1c1a2
@ -213,3 +213,7 @@ static void register_egl(void)
|
||||
}
|
||||
|
||||
type_init(register_egl);
|
||||
|
||||
#ifdef CONFIG_OPENGL
|
||||
module_dep("ui-opengl");
|
||||
#endif
|
||||
|
4
ui/gtk.c
4
ui/gtk.c
@ -2333,3 +2333,7 @@ static void register_gtk(void)
|
||||
}
|
||||
|
||||
type_init(register_gtk);
|
||||
|
||||
#ifdef CONFIG_OPENGL
|
||||
module_dep("ui-opengl");
|
||||
#endif
|
||||
|
@ -918,3 +918,7 @@ static void register_sdl1(void)
|
||||
}
|
||||
|
||||
type_init(register_sdl1);
|
||||
|
||||
#ifdef CONFIG_OPENGL
|
||||
module_dep("ui-opengl");
|
||||
#endif
|
||||
|
@ -221,3 +221,6 @@ static void register_spice_app(void)
|
||||
}
|
||||
|
||||
type_init(register_spice_app);
|
||||
|
||||
module_dep("ui-spice-core");
|
||||
module_dep("chardev-spice");
|
||||
|
@ -1037,3 +1037,8 @@ static void spice_register_config(void)
|
||||
qemu_add_opts(&qemu_spice_opts);
|
||||
}
|
||||
opts_init(spice_register_config);
|
||||
module_opts("spice");
|
||||
|
||||
#ifdef CONFIG_OPENGL
|
||||
module_dep("ui-opengl");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user