WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1 of 3] Some recent updates on ocaml xapi-libs

To: Zheng Li <zheng.li@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1 of 3] Some recent updates on ocaml xapi-libs
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Tue, 9 Aug 2011 09:35:00 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 09 Aug 2011 01:35:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9455d912516401c3d742.1312102744@eta>
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>
Organization: Citrix Systems, Inc.
References: <patchbomb.1312102743@eta> <9455d912516401c3d742.1312102744@eta>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> diff --git a/tools/ocaml/libs/eventchn/Makefile 
> b/tools/ocaml/libs/eventchn/Makefile
> --- a/tools/ocaml/libs/eventchn/Makefile
> +++ b/tools/ocaml/libs/eventchn/Makefile
> @@ -7,6 +7,7 @@ CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_
>  OBJS = eventchn
>  INTF = $(foreach obj, $(OBJS),$(obj).cmi)
>  LIBS = eventchn.cma eventchn.cmxa
> +LIBS_eventchn = -L$(XEN_ROOT)/tools/libxc -lxenctrl
> 
>  LIBS_evtchn = $(LDLIBS_libxenctrl)

What is the difference between evtchn and eventchn here? Or is evtchn
redundant/incorrect?

You should use $(LDLIBS_foo) not open-coding the -L and -l options.
Perhaps all this change really needs to do is
s/LIBS_evtchn/LIBS_eventchn/ rather than adding the new line?

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH 1 of 3] Some recent updates on ocaml xapi-libs, Ian Campbell <=