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.jack...@eu.citrix.com> ... 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.jack...@eu.citrix.com> > > Acked-by: Wei Liu <wei.l...@citrix.com> And the patch again, below, with Wei's ack added. Ian. From: Ian Jackson <ian.jack...@eu.citrix.com> 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.jack...@eu.citrix.com> Acked-by: Wei Liu <wei.l...@citrix.com> --- 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@lists.xen.org https://lists.xen.org/xen-devel