From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIywA-0007aN-Ie for qemu-devel@nongnu.org; Mon, 09 Sep 2013 06:43:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIyw3-0005R9-Hq for qemu-devel@nongnu.org; Mon, 09 Sep 2013 06:43:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIyw3-0005R2-9m for qemu-devel@nongnu.org; Mon, 09 Sep 2013 06:43:11 -0400 Message-ID: <522DA63E.1060300@redhat.com> Date: Mon, 09 Sep 2013 12:43:10 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1378452491-20467-1-git-send-email-famz@redhat.com> <1378452491-20467-4-git-send-email-famz@redhat.com> <5229A9D2.30305@redhat.com> <20130906114735.GA29150@T430s.nay.redhat.com> <5229C66C.1010209@redhat.com> <20130909022635.GB29150@T430s.nay.redhat.com> In-Reply-To: <20130909022635.GB29150@T430s.nay.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v2 3/6] Makefile: introduce common-obj-m and block-obj-m for DSO 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, vilanova@ac.upc.edu, rth@twiddle.net Il 09/09/2013 04:26, Fam Zheng ha scritto: > Actually I would like a try to keep $i-{obj,cflags,libs}: > > foo-obj := bar.o biz.o > foo-libs := $(FOO_LIBS) > foo-cflags := $(FOO_CFLAGS) > > getting rid of all the $(obj)/'s and expand them in the toplevel unnest magic > (because we know foo.mo is contained in local $(block-obj-y) so it's all > trackable). > > If this idea can't work out, I'll use your suggested way. Yes, either way works (i.e. as long as it's consistent). Paolo