diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-04 14:45:27 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-06-14 15:33:11 +0100 |
commit | 2e59915d4375b632964c0594799fd5876958eda6 (patch) | |
tree | c0a2323ef4417a82f71ee00d54192a45266d6f4d /arch_init.c | |
parent | b9a7b74f77619d3e7fb3834fbdcd3bde036ac399 (diff) | |
download | qemu-2e59915d4375b632964c0594799fd5876958eda6.tar.gz qemu-2e59915d4375b632964c0594799fd5876958eda6.tar.bz2 qemu-2e59915d4375b632964c0594799fd5876958eda6.zip |
main: use TARGET_ARCH only for the target-specific #define
Everything else needs to match the executable name, which is
TARGET_NAME.
Before:
$ sh4eb-linux-user/qemu-sh4eb --help
usage: qemu-sh4 [options] program [arguments...]
Linux CPU emulator (compiled for sh4 emulation)
After:
$ sh4eb-linux-user/qemu-sh4eb --help
usage: qemu-sh4eb [options] program [arguments...]
Linux CPU emulator (compiled for sh4eb emulation)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1370349928-20419-5-git-send-email-pbonzini@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'arch_init.c')
-rw-r--r-- | arch_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch_init.c b/arch_init.c index 5d32ecf23a..23ca953cb5 100644 --- a/arch_init.c +++ b/arch_init.c @@ -123,7 +123,7 @@ static struct defconfig_file { bool userconfig; } default_config_files[] = { { CONFIG_QEMU_CONFDIR "/qemu.conf", true }, - { CONFIG_QEMU_CONFDIR "/target-" TARGET_ARCH ".conf", true }, + { CONFIG_QEMU_CONFDIR "/target-" TARGET_NAME ".conf", true }, { NULL }, /* end of list */ }; |