main: use TARGET_ARCH only for the target-specific #define
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Jun 2013 12:45:27 +0000 (14:45 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Jun 2013 14:33:11 +0000 (15:33 +0100)
commit2e59915d4375b632964c0594799fd5876958eda6
treec0a2323ef4417a82f71ee00d54192a45266d6f4d
parentb9a7b74f77619d3e7fb3834fbdcd3bde036ac399
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>
arch_init.c
bsd-user/main.c
configure
linux-user/main.c
scripts/create_config