From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RR0zk-0001mj-Kj for qemu-devel@nongnu.org; Thu, 17 Nov 2011 07:23:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RR0zj-0000vl-Rz for qemu-devel@nongnu.org; Thu, 17 Nov 2011 07:23:08 -0500 Received: from cantor2.suse.de ([195.135.220.15]:38320 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RR0zj-0000vW-EJ for qemu-devel@nongnu.org; Thu, 17 Nov 2011 07:23:07 -0500 Message-ID: <4EC4FC95.9040104@suse.de> Date: Thu, 17 Nov 2011 13:22:45 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <20111116215829.GA767@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 4/4] Makefile: fix qga dependencies List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org Am 17.11.2011 10:31, schrieb Paolo Bonzini: > On 11/16/2011 10:58 PM, Michael S. Tsirkin wrote: >> .c files include .h files, so .o depends on .h, >> and the linked result depends on .o. >> We got it wrong for qga rules, fix it up. >=20 > Another possible option is to make the "all" target depend on > GENERATED_HEADERS and GENERATED_SOURCES, like >=20 > all: $(GENERATED_HEADERS) $(GENERATED_SOURCES) > @$(MAKE) build-all >=20 > and drop the dependency everywhere else. Please don't. `make qemu-img`, for example, should work, too. That bypasses the "all" target IIUC. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg