From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIyuq-0005rh-60 for qemu-devel@nongnu.org; Mon, 09 Sep 2013 06:42:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIyuk-0004ls-6n for qemu-devel@nongnu.org; Mon, 09 Sep 2013 06:41:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIyuj-0004lo-VB for qemu-devel@nongnu.org; Mon, 09 Sep 2013 06:41:50 -0400 Message-ID: <522DA5EE.6030508@redhat.com> Date: Mon, 09 Sep 2013 12:41:50 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1378452491-20467-1-git-send-email-famz@redhat.com> <1378452491-20467-2-git-send-email-famz@redhat.com> <87zjrp98bq.fsf@fimbulvetr.bsc.es> <20130909013450.GA23625@T430s.nay.redhat.com> In-Reply-To: <20130909013450.GA23625@T430s.nay.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH v2 1/6] make.rule: fix $(obj) to a real relative path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: famz@redhat.com Cc: peter.maydell@linaro.org, mjt@tls.msk.ru, qemu-devel@nongnu.org, stefanha@redhat.com, rth@twiddle.net Il 09/09/2013 03:34, Fam Zheng ha scritto: > On Fri, 09/06 20:19, Llu=EDs Vilanova wrote: >> Fam Zheng writes: >> [...] >>> Because $(obj) here is './block', instead of '../block'. This doesn't >>> hurt compiling because we basically build all .o from top Makefile, >>> before entering Makefile.target, but it will affact arriving per-obje= ct >>> libs support. >> >> I'm curious. What's the reason to not use recursive make in QEMU? >> > I don't know the answer, Paolo? It predates my involvement by a long time, so I don't know. But my guess is that whenever directories are not present in the build tree (e.g. i386-softmmu/hw) we have to create the Makefile in the configure script. Thus a heavily declarative Makefile style works better. Paolo