mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/i386/xen: Compile 'xen-hvm.c' with Xen CPPFLAGS
xen-hvm.c calls xc_set_hvm_param() from <xenctrl.h>, so better compile it with Xen CPPFLAGS. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: David Woodhouse <dwmw@amazon.co.uk> Message-Id: <20231114143816.71079-19-philmd@linaro.org>
This commit is contained in:
parent
f28b958cbf
commit
906c0876ee
1 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
|||
i386_ss.add(when: 'CONFIG_XEN', if_true: files(
|
||||
'xen-hvm.c',
|
||||
'xen_apic.c',
|
||||
'xen_pvdevice.c',
|
||||
))
|
||||
i386_ss.add(when: ['CONFIG_XEN', xen], if_true: files(
|
||||
'xen-hvm.c',
|
||||
))
|
||||
|
||||
i386_ss.add(when: 'CONFIG_XEN_BUS', if_true: files(
|
||||
'xen_platform.c',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue