From: "Jan Beulich" Subject: Re: [v2][PATCH] tools/hvmloader: link errno.h from xen internal Date: Mon, 03 Nov 2014 11:37:21 +0000 Message-ID: <5457770102000078000445A5@mail.emea.novell.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5457656E.9040604@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tiejun Chen 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 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. Jan