From: Keir Fraser Subject: Re: xen-unstable: build fails Date: Thu, 17 Mar 2011 10:55:30 +0000 Message-ID: References: <4D81F4F702000078000370BB@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D81F4F702000078000370BB@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Juergen Gross Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 17/03/2011 10:48, "Jan Beulich" wrote: >> As short time measure this seems to be okay. >> >> On the long run I'd prefer to use absolute paths only. Otherwise you've >> always a risk to use something from outside the intended build environment. >> >> XEN_ROOT = $(abspath ../..) >> >> seems not too hard to use instead of >> >> XEN_ROOT = ../.. > > Except that make 3.80 doesn't support this, and that make version > is - to my knowledge - still in quite wide spread use. But that can > probably be overcome with a fallback implementation (which newer > make just wouldn't use). It has CURDIR, so we can just use that. Which is what I've done. It's also cleaned up some not-nice bit of build-fu which were prefixing a relative XEN_ROOT with arbitrary extra ../'s to "make things work". -- Keir