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é <[email protected]> --- 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 --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 = [] -- 2.47.1
