From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJFzQ-0004L0-DE for qemu-devel@nongnu.org; Fri, 28 Feb 2014 00:28:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJFzK-0005yF-Hh for qemu-devel@nongnu.org; Fri, 28 Feb 2014 00:28:04 -0500 Received: from v220110690675601.yourvserver.net ([37.221.199.173]:42727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJFzK-0005yB-BX for qemu-devel@nongnu.org; Fri, 28 Feb 2014 00:27:58 -0500 Message-ID: <53101E5A.3040903@weilnetz.de> Date: Fri, 28 Feb 2014 06:27:54 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1393539728-27389-1-git-send-email-pbonzini@redhat.com> <20140227225023.GF4165@localhost.localdomain> In-Reply-To: <20140227225023.GF4165@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] build: build block-obj-y explicitly before recursing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Cody , Paolo Bonzini Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org Am 27.02.2014 23:50, schrieb Jeff Cody: > On Thu, Feb 27, 2014 at 11:22:08PM +0100, Paolo Bonzini wrote: >> block-obj-y is not anymore part of common-obj-y, because "nesting" >> variables is complicated and requires specifying the correct >> ordering in the calls to unnest-vars. However, because of this >> we need to specify block-obj-y in the dependencies of the >> target subdirectories. >> >> Thanks to Stefan Weil and Jeff Cody for suggesting the cause of >> the regression. >> >> Reported-by: Peter Maydell >> Signed-off-by: Paolo Bonzini >> --- >> Makefile | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Makefile b/Makefile >> index a443cd4..3938b6c 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -167,7 +167,7 @@ subdir-dtc:dtc/libfdt dtc/tests >> dtc/%: >> mkdir -p $@ >> >> -$(SUBDIR_RULES): libqemuutil.a libqemustub.a $(common-obj-y) >> +$(SUBDIR_RULES): libqemuutil.a libqemustub.a $(common-obj-y) $(block-obj-y) Using SUBDIR_RULES here instead of SOFTMMU_SUBDIR_RULES (as in my patch) includes more dependencies: $(block-obj-y) will also be built for the user emulation code (i386-linux-user, ...) which does not need it. As far as I see, SOFTMMU_SUBDIR_RULES is sufficient. Stefan >> >> ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS)) >> romsubdir-%: >> -- >> 1.8.5.3 >> >> > > Reviewed-by: Jeff Cody > >