system: Open-code qemu_init_arch_modules() using target_name()

Mostly revert commit c80cafa0c7 ("system: Add qemu_init_arch_modules")
but using target_name() instead of the target specific 'TARGET_NAME'
definition.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250305005225.95051-3-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2025-03-04 22:26:08 +01:00
parent df9ae6aa84
commit f2d4df439e
3 changed files with 6 additions and 12 deletions

View file

@ -27,6 +27,4 @@ enum {
extern const uint32_t arch_type;
void qemu_init_arch_modules(void);
#endif