]> xenbits.xensource.com Git - mini-os.git/commitdiff
Link against libxentoolcore xen-4.10.0-rc1
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 3 Oct 2017 18:45:19 +0000 (19:45 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 9 Oct 2017 14:23:39 +0000 (15:23 +0100)
Bringing this commit into xen.git needs coordination with the
corresponding change to introduce the new library: this commit needs to
be introduced to xen.git immediately after
   xentoolcore, _restrict_all: Introduce new library and implementation

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Makefile

index 5bdcdac05d4cd06864596af1cbd62fb64fb5221f..88315c48e8afd907bc106cc8bbd04c1261960655 100644 (file)
--- 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