diff mbox series

[RFC,18/18] configs/targets: Merge qemu-system-microblaze{el} binaries

Message ID 20250305153929.43687-19-philmd@linaro.org
State New
Headers show
Series hw/microblaze: Quick single binary proof of concept | expand

Commit Message

Philippe Mathieu-Daudé March 5, 2025, 3:39 p.m. UTC
qemu-system-microblaze and qemu-system-microblazeel binaries
are functionally equivalent (except the default endianness).

By using legacy_binary_is_big_endian() to get the binary
endianness at runtime, we can merge both binaries (using
a symlink).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 configs/targets/microblazeel-softmmu.mak | 8 --------
 meson.build                              | 4 ++--
 2 files changed, 2 insertions(+), 10 deletions(-)
 delete mode 100644 configs/targets/microblazeel-softmmu.mak
diff mbox series

Patch

diff --git a/configs/targets/microblazeel-softmmu.mak b/configs/targets/microblazeel-softmmu.mak
deleted file mode 100644
index 52cdeae1a28..00000000000
--- a/configs/targets/microblazeel-softmmu.mak
+++ /dev/null
@@ -1,8 +0,0 @@ 
-TARGET_ARCH=microblaze
-TARGET_SUPPORTS_MTTCG=y
-# needed by boot.c
-TARGET_NEED_FDT=y
-TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.xml
-# System mode can address up to 64 bits via lea/sea instructions.
-# TODO: These bypass the mmu, so we could emulate these differently.
-TARGET_LONG_BITS=64
diff --git a/meson.build b/meson.build
index c2b7ec57739..46f97b1b7a7 100644
--- a/meson.build
+++ b/meson.build
@@ -3251,8 +3251,8 @@  host_kconfig = \
 
 ignored = [ 'TARGET_XML_FILES', 'TARGET_ABI_DIR', 'TARGET_ARCH' ]
 
-aliased_targets = []
-aliased_target = {}
+aliased_targets = ['microblazeel']
+aliased_target = {'microblaze': 'microblazeel'}
 
 default_targets = 'CONFIG_DEFAULT_TARGETS' in config_host
 actual_target_dirs = []