Commit e516d5f4ee for qemu.org

commit e516d5f4eeb65e93b87020b32cb8bf1579d84f4f
Author: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Date:   Wed Sep 30 02:00:49 2026 +0000

    meson.build: subdir system before finalizing stubs library

    This allows to use stub mechanism for system/ files.

    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Link: https://lore.kernel.org/qemu-devel/20260930020108.217892-3-pierrick.bouvier@oss.qualcomm.com
    Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>

diff --git a/meson.build b/meson.build
index cae1591cd2..0eddece72b 100644
--- a/meson.build
+++ b/meson.build
@@ -3768,6 +3768,7 @@ subdir('ebpf')

 if have_system
   subdir('hw')
+  subdir('system')
 else
   subdir('hw/core')
 endif
@@ -3849,8 +3850,6 @@ common_ss.add(files('cpu-common.c'))
 user_ss.add(files('cpu-target.c'))
 system_ss.add(files('cpu-target.c'))

-subdir('system')
-
 # Work around a gcc bug/misfeature wherein constant propagation looks
 # through an alias:
 #   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99696