[mini-os master] Link against libxentoolcore

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[mini-os master] Link against libxentoolcore

commit 3a18eaa27e60d45953359f4c199196cade1d7f2d
Author:     Ian Jackson <[hidden email]>
AuthorDate: Tue Oct 3 19:45:19 2017 +0100
Commit:     Wei Liu <[hidden email]>
CommitDate: Mon Oct 9 15:23:39 2017 +0100

    Link against libxentoolcore
    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 <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
 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
generated by git-patchbot for /home/xen/git/mini-os.git#master

Xen-changelog mailing list
[hidden email]