This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] xen-unstable: build fails

To: "Keir Fraser" <keir.xen@xxxxxxxxx>, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen-unstable: build fails
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Thu, 17 Mar 2011 10:13:05 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Mar 2011 03:13:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D81CD8A.9050601@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C9A772CD.14F43%keir.xen@xxxxxxxxx> <4D81CD8A.9050601@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> On 17.03.11 at 09:59, Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> 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 := $(shell touch $(XEN_ROOT)/.config)

to ./Config.mk, or putting the include in a conditional instead
of making use of -include. It seems to me that "-include" doing a
default directory search just like "include" does wasn't the best
behavioral decision by the make authors - if one really wants to
include nothing, one just cannot use this to avoid the conditional
(which is what so far I thought was the main advantage of the
"-" prefix).


Xen-devel mailing list