From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiOlP-0004TX-28 for qemu-devel@nongnu.org; Thu, 08 May 2014 09:53:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiOlH-0003oM-QT for qemu-devel@nongnu.org; Thu, 08 May 2014 09:53:31 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:46510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiOlH-0003o5-Ir for qemu-devel@nongnu.org; Thu, 08 May 2014 09:53:23 -0400 Message-ID: <536B8C51.9000405@msgid.tls.msk.ru> Date: Thu, 08 May 2014 17:53:21 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1399556198-17776-1-git-send-email-pbonzini@redhat.com> <1399556198-17776-10-git-send-email-pbonzini@redhat.com> In-Reply-To: <1399556198-17776-10-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 09/10] build: simplify and fix fix-obj-vars List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org 08.05.2014 17:36, Paolo Bonzini wrote: > fix-obj-vars has the undesired side effect of breaking -cflags > -objs and -libs variables in the toplevel Makefile.objs. The > variables in the toplevel Makefile.objs do not need any fix, > so fix-obj-vars need not do anything. > [] > @@ -228,7 +229,7 @@ endef > define unnest-vars > $(eval obj := $1) > $(eval nested-vars := $2) > -$(foreach v,$(nested-vars),$(call fix-obj-vars,$v,$(if $(obj),$(obj)/))) > +$(foreach v,$(nested-vars),$(call fix-obj-vars,$v,$(obj))) > $(eval old-nested-dirs := ) > $(call unnest-vars-1) > $(if $1,$(foreach v,$(nested-vars),$(eval \ How about ditching 01/10 and replacing it with this 09/10 ? Thanks, /mjt