From: Keir Fraser Subject: Re: [Xen-changelog] Define Xen interface version for tools build. Date: Thu, 6 Apr 2006 07:52:32 +0100 Message-ID: <69cd31cce8c5fba523604f999a516e67@cl.cam.ac.uk> References: <20060406055438.GA16153@granada.merseine.nu> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060406055438.GA16153@granada.merseine.nu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Muli Ben-Yehuda Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 6 Apr 2006, at 06:54, Muli Ben-Yehuda wrote: >> X11_LDPATH = -L/usr/X11R6/$(LIBDIR) >> + >> +CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030101 > > This is now another place you have to remember to change the version > string. Can we stick it in its own file with nothing else and have > other users include it? Where would you place it such that it's guaranteed to be included everywhere? One option is to define as 0xFFFFFFFF and have xen-compat.h rewrite that to __XEN_LATEST_INTERFACE_VERSION__. Then we'd never need to update the tools version as it would always get the latest interface. -- Keir