From: Ian Jackson Subject: Re: [PATCH v2 1/2] tools: consolidate Makefile runes to building+installing qemu-trad Date: Wed, 3 Feb 2016 16:12:29 +0000 Message-ID: <22194.9965.639705.450550@mariner.uk.xensource.com> References: <1454515849-13886-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1454515849-13886-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: wei.liu2@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH v2 1/2] tools: consolidate Makefile runes to building+installing qemu-trad"): > Currently both subdir-all-qemu-traditional-dir and subdir-install-... > recurse into qemu-traditional-dir and run xen-setup, but with subtly > different options (--extra-cflags was only passed for install). Yuk! I'm sorry if that was my fault! > Consolidate these by having the install target depend on the all > (build) target and only calling make install. > > There is a subtlty which is that qemu-trad's build is not completely > isolated from xen.git and requires some environment variables etc. To > handle this refactor the setup code into a make macro and $(call) it > in both cases. > > Note that this doesn't actually omit a potential double call to > configure, since all is still called during install, this is the same > for qemu-xen. Note that it doesn't result in a double build in either > case, since apparently the qemu configure is idempotent. Acked-by: Ian Jackson Thanks, Ian.