This allows to use stub mechanism for system/ files.

Signed-off-by: Pierrick Bouvier <[email protected]>
---
 meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index cae1591cd28..0eddece72bd 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
-- 
2.43.0


Reply via email to