summary refs log tree commit diff stats
path: root/target-info-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-info-stub.c')
-rw-r--r--target-info-stub.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/target-info-stub.c b/target-info-stub.c
index 773a10188c..fecc0e7128 100644
--- a/target-info-stub.c
+++ b/target-info-stub.c
@@ -9,18 +9,17 @@
 #include "qemu/osdep.h"
 #include "qemu/target-info.h"
 #include "qemu/target-info-impl.h"
+#include "hw/boards.h"
 #include "cpu.h"
 
 static const TargetInfo target_info_stub = {
     .target_name = TARGET_NAME,
+    .long_bits = TARGET_LONG_BITS,
+    .cpu_type = CPU_RESOLVING_TYPE,
+    .machine_typename = TYPE_MACHINE,
 };
 
 const TargetInfo *target_info(void)
 {
     return &target_info_stub;
 }
-
-const char *target_cpu_type(void)
-{
-    return CPU_RESOLVING_TYPE;
-}