Now it's the only file left to define target info, we call it def to
make the intent more clear.

Signed-off-by: Pierrick Bouvier <[email protected]>
---
 meson.build                             | 2 +-
 target-info-stub.c => target-info-def.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename target-info-stub.c => target-info-def.c (92%)

diff --git a/meson.build b/meson.build
index 6cfa0e6e754..449d50f2983 100644
--- a/meson.build
+++ b/meson.build
@@ -4321,7 +4321,7 @@ foreach target : target_dirs
     endif
   endif
 
-  arch_srcs += files('target-info-stub.c')
+  arch_srcs += files('target-info-def.c')
 
   if target_base_arch in target_arch
     t = target_arch[target_base_arch].apply(config_target, strict: false)
diff --git a/target-info-stub.c b/target-info-def.c
similarity index 92%
rename from target-info-stub.c
rename to target-info-def.c
index 71a6064548f..5d38e405735 100644
--- a/target-info-stub.c
+++ b/target-info-def.c
@@ -1,5 +1,5 @@
 /*
- * QEMU target info stubs (target specific)
+ * QEMU target info definition (target specific)
  *
  *  Copyright (c) Linaro
  *
@@ -28,7 +28,7 @@ QEMU_BUILD_BUG_ON(offsetof(ArchCPU, env) != sizeof(CPUState));
 QEMU_BUILD_BUG_ON(TARGET_PAGE_BITS < TARGET_PAGE_BITS_MIN);
 #endif
 
-static const TargetInfo target_info_stub = {
+static const TargetInfo target_info_def = {
     .target_name = TARGET_NAME,
     .target_arch = glue(SYS_EMU_TARGET_, TARGET_ARCH),
     .long_bits = TARGET_LONG_BITS,
@@ -63,4 +63,4 @@ static const TargetInfo target_info_stub = {
 #endif
 };
 
-target_info_init(target_info_stub)
+target_info_init(target_info_def)
-- 
2.43.0


Reply via email to