From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvCyh-0003LX-2D for qemu-devel@nongnu.org; Sat, 18 Apr 2009 12:01:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvCye-0003Kz-BE for qemu-devel@nongnu.org; Sat, 18 Apr 2009 12:01:13 -0400 Received: from [199.232.76.173] (port=47236 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvCyd-0003Kw-OT for qemu-devel@nongnu.org; Sat, 18 Apr 2009 12:01:11 -0400 Received: from hall.aurel32.net ([88.191.82.174]:55797) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LvCyd-0002oe-5f for qemu-devel@nongnu.org; Sat, 18 Apr 2009 12:01:11 -0400 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1LvCyY-0008SB-PF for qemu-devel@nongnu.org; Sat, 18 Apr 2009 18:01:06 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1LvCyX-00058Q-2N for qemu-devel@nongnu.org; Sat, 18 Apr 2009 18:01:05 +0200 Date: Sat, 18 Apr 2009 18:01:05 +0200 From: Aurelien Jarno Message-ID: <20090418160104.GA18120@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Subject: [Qemu-devel] [RFC][PATCH] Rename qemu into qemu-system-i386 and install a compat symlink Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org For historical reasons, qemu system on i386 is called qemu instead of qemu-system-i386. This seems to confuse users. This patch installs it as qemu-system-i386, and create a compatibility symlink qemu -> qemu-system-i386 as some tools may call it that way. We can change or remove this symlink after a few releases when all the tools have migrated to this new name. Signed-off-by: Aurelien Jarno --- Makefile.target | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.target b/Makefile.target index dae339b..88c7a32 100644 --- a/Makefile.target +++ b/Makefile.target @@ -63,12 +63,8 @@ ifdef CONFIG_USER_ONLY QEMU_PROG=qemu-$(TARGET_ARCH2) else # system emulator name -ifeq ($(TARGET_ARCH), i386) -QEMU_PROG=qemu$(EXESUF) -else QEMU_PROG=qemu-system-$(TARGET_ARCH2)$(EXESUF) endif -endif PROGS=$(QEMU_PROG) @@ -743,6 +739,9 @@ install: all ifneq ($(PROGS),) $(INSTALL) -m 755 $(STRIP_OPT) $(PROGS) "$(DESTDIR)$(bindir)" endif +ifeq ($(TARGET_ARCH), i386) + ln -sf qemu-system-i386$(EXESUF) "$(DESTDIR)$(bindir)/qemu$(EXESUF)" +endif # Include automatically generated dependency files -include $(wildcard *.d */*.d) -- 1.6.1.3 -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net