[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH MINI-OS] Link against libxentoolcore [and 1 more messages]



FYI, re the patch below.  I posted it only to xen-devel by mistake.

Thanks,
Ian.

Ian Jackson writes ("[PATCH MINI-OS] Link against libxentoolcore"):
> Bringing this commit into xen.git needs coordination with the
> corresponding change to introduce the new library: this commit nees to
> be introdeuced to xen.git immediately after
>    xentoolcore, _restrict_all: Introduce new library and implementation
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
...

Wei Liu writes ("Re: [PATCH MINI-OS] Link against libxentoolcore"):
> On Tue, Oct 03, 2017 at 07:45:19PM +0100, Ian Jackson wrote:
> > Bringing this commit into xen.git needs coordination with the
> > corresponding change to introduce the new library: this commit nees to
> > be introdeuced to xen.git immediately after
> >    xentoolcore, _restrict_all: Introduce new library and implementation
> > 
> > Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> 
> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

And the patch again, below, with Wei's ack added.

Ian.

From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Subject: [PATCH MINI-OS] Link against libxentoolcore

Bringing this commit into xen.git needs coordination with the
corresponding change to introduce the new library: this commit nees to
be introdeuced to xen.git immediately after
   xentoolcore, _restrict_all: Introduce new library and implementation

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 5bdcdac..88315c4 100644
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,8 @@ OBJS := $(filter-out $(OBJ_DIR)/lwip%.o $(LWO), $(OBJS))
 
 ifeq ($(libc),y)
 ifeq ($(CONFIG_XC),y)
+APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/toolcore 
-whole-archive -lxentoolcore -no-whole-archive
+LIBS += 
$(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/toolcore/libxentoolcore.a
 APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/toollog 
-whole-archive -lxentoollog -no-whole-archive
 LIBS += $(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/toollog/libxentoollog.a
 APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/evtchn 
-whole-archive -lxenevtchn -no-whole-archive
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.