From: Ian Jackson Subject: Re: [PATCH] fix qemu building with older make Date: Tue, 29 Jul 2014 14:57:55 +0100 Message-ID: <21463.43107.996862.418550@mariner.uk.xensource.com> References: <53D6332002000078000267C3@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XC7ui-0003ev-49 for xen-devel@lists.xenproject.org; Tue, 29 Jul 2014 13:58:00 +0000 In-Reply-To: <53D6332002000078000267C3@mail.emea.novell.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: Jan Beulich Cc: George Dunlap , xen-devel , Keir Fraser , Ian Campbell , Tim Deegan List-Id: xen-devel@lists.xenproject.org Jan Beulich writes ("[PATCH] fix qemu building with older make"): > The $(or ) builtin (uses introduced by commits ffbf089357 and > 8962a8f951) is supported only from make 3.81 onwards, yet we claim to > only require make 3.80. Introduce a good enough fallback. > > Signed-off-by: Jan Beulich > > --- a/Config.mk > +++ b/Config.mk > @@ -12,6 +12,7 @@ space := $(empty) $(empty) > > # fallback for older make > realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) > +or = $(if $(strip $(1)),$(1),$(if $(strip $(2)),$(2),$(if $(strip $(3)),$(3),$(if $(strip $(4)),$(4))))) Can we (a) have a comment here explaining why (b) have some kind of time limit on how long we need to support make 3.80 ? 3.81 was released upstream over eight years ago in April 2006. (AFAICT as far as Debian goes that means it has been in every Debian release since etch, which was released in April 2007.) Ian.