From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen, Tiejun" Subject: Re: [v2][PATCH] tools/hvmloader: link errno.h from xen internal Date: Mon, 03 Nov 2014 19:47:53 +0800 Message-ID: <54576B69.2060705@intel.com> References: <1415005248-25620-1-git-send-email-tiejun.chen@intel.com> <54575C3E020000780004440F@mail.emea.novell.com> <54575372.7020406@intel.com> <545764D102000078000444F0@mail.emea.novell.com> <5457656E.9040604@intel.com> <5457770102000078000445A5@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5457770102000078000445A5@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: Ian.Campbell@eu.citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, wei.liu2@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On 2014/11/3 19:37, Jan Beulich wrote: >>>> On 03.11.14 at 12:22, wrote: >> Are you saying that dependency? >> >> @@ -87,6 +87,11 @@ endif >> all: subdirs-all >> $(MAKE) hvmloader >> >> +subdirs-all: errno >> + >> +errno: >> + ln -sf $(XEN_ROOT)/xen/include/xen/errno.h . >> + >> ovmf.o rombios.o seabios.o hvmloader.o: roms.inc >> smbios.o: CFLAGS += -D__SMBIOS_DATE__="\"$(shell date +%m/%d/%Y)\"" > > Another step in the right direction. If now you also change the target > to be "errno.h" instead of "errno", we'll have what we want. > Okay, all: subdirs-all $(MAKE) hvmloader +subdirs-all: errno.h + +errno.h: + ln -sf $(XEN_ROOT)/xen/include/xen/errno.h . + ovmf.o rombios.o seabios.o hvmloader.o: roms.inc smbios.o: CFLAGS += -D__SMBIOS_DATE__="\"$(shell date +%m/%d/%Y)\"" If this is fine I will send next revision once some tools maintainer can give an acknowledge. Thanks Tiejun