From: "Jan Beulich" Subject: Re: xen-unstable: build fails Date: Thu, 17 Mar 2011 10:48:07 +0000 Message-ID: <4D81F4F702000078000370BB@vpn.id2.novell.com> References: <4D81CD8A.9050601@ts.fujitsu.com> <4D81ECC1020000780003705D@vpn.id2.novell.com> <4D81E270.9000100@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4D81E270.9000100@ts.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross Cc: Keir Fraser , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 17.03.11 at 11:29, Juergen Gross = wrote: > On 03/17/11 11:13, Jan Beulich wrote: >>>>> On 17.03.11 at 09:59, Juergen Gross = wrote: >>> The problem is still the relative XEN_ROOT specification. >>> Or the missing .config under XEN_ROOT, so creating this file solves my >>> problem. :-) >> >> I'd favor the latter, e.g. by adding something like >> >> cfg-create :=3D $(shell touch $(XEN_ROOT)/.config) >> >> to ./Config.mk, or putting the include in a conditional instead >> of making use of -include. >=20 > As short time measure this seems to be okay. >=20 > 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 environmen= t. >=20 > XEN_ROOT =3D $(abspath ../..) >=20 > seems not too hard to use instead of >=20 > XEN_ROOT =3D ../.. 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). Jan