From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56008 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBnOu-0005H1-Hb for qemu-devel@nongnu.org; Tue, 11 May 2010 07:13:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBnOt-0007tw-AN for qemu-devel@nongnu.org; Tue, 11 May 2010 07:13:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44657) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBnOt-0007tU-0M for qemu-devel@nongnu.org; Tue, 11 May 2010 07:13:23 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4BBDJZF006442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 May 2010 07:13:19 -0400 From: Juan Quintela Date: Tue, 11 May 2010 13:13:15 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/2] Makefile: remoeve duplicate qemu-error.o List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi qemu-error.o appears in several places in Makefile*, with several combinations of make; make clean; make you could get a build error. Fix it defining it in a single place. Once there, just create a shared-obj-y for objects that are needed for both tools and qemu binary. This should remove this error in the future. once there, fix fsdevel to check for CONFIG_LINUX only once instead of 4 times. Juan Quintela (2): Create shared-obj-y state that fsdev depends on LINUX only once Makefile | 8 +++++--- Makefile.objs | 15 +++++++++------ 2 files changed, 14 insertions(+), 9 deletions(-)