diff --git a/target/arm/meson.build b/target/arm/meson.build index 9408131d17..4412fde065 100644 --- a/target/arm/meson.build +++ b/target/arm/meson.build @@ -35,7 +35,10 @@ arm_system_ss.add(when: 'CONFIG_KVM', if_true: files('hyp_gdbstub.c', 'kvm.c')) arm_system_ss.add(when: 'CONFIG_HVF', if_true: files('hyp_gdbstub.c')) arm_user_ss.add(files('cpu.c')) -arm_stubs_ss.add(files('cpu32-stubs.c')) +arm_stubs_ss.add(files( + 'cpu32-stubs.c', + 'kvm-stub.c' +)) arm_user_ss.add(files( 'el2-stubs.c', 'cpregs-omap-stub.c', @@ -44,7 +47,6 @@ arm_user_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING', if_true: files('common-semi-target.c')) arm_common_system_ss.add(files('cpu.c')) -arm_common_system_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c')) arm_common_system_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING', if_true: files('common-semi-target.c')) arm_common_system_ss.add(files(