]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/microblaze: Compile op_helper.c as common unit
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 23 Apr 2026 08:54:23 +0000 (10:54 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 6 May 2026 14:10:46 +0000 (16:10 +0200)
In order do build op_helper.c as a common unit we simply
need to use the common version of "accel/tcg/cpu-ldst.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Message-Id: <20260423100612.27278-7-philmd@linaro.org>

target/microblaze/meson.build
target/microblaze/op_helper.c

index 94c76de39bd66d37e48bd7b8634e023459c7d880..add3e6ca9f91c86357628e09725d4f0df35dae11 100644 (file)
@@ -4,13 +4,13 @@ microblaze_common_ss = ss.source_set()
 microblaze_common_ss.add(files(
   'gdbstub.c',
   'helper.c',
+  'op_helper.c',
 ))
 
 microblaze_ss = ss.source_set()
 microblaze_ss.add(gen)
 microblaze_ss.add(files(
   'cpu.c',
-  'op_helper.c',
   'translate.c',
 ))
 
index 31da2c7c3ae2fc0a6ea5eb5b7bb06cc0ace9cedc..84c60c2636e84134d54f65dd8d8a632ffdd33c86 100644 (file)
@@ -23,7 +23,7 @@
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "qemu/host-utils.h"
-#include "accel/tcg/cpu-ldst.h"
+#include "accel/tcg/cpu-ldst-common.h"
 #include "fpu/softfloat.h"
 
 void helper_put(uint32_t id, uint32_t ctrl, uint32_t data)