Skip to contentSkip to conversation

Link against libxentoolcore

PATCH In review Ian Jackson 2 participants 3 messages Oct 3, 2017 – Oct 6, 2017 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)
Makefile +2 -0
index 5bdcdac..88315c4 100644
@@ -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
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Ian Jackson

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

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author Acked-by Wei Liu on v1 1/1
#2 lore raw

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

In reply to Ian Jackson

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"):

Quoted 6 lines

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

...

Wei Liu writes ("Re: [PATCH MINI-OS] Link against libxentoolcore"):

Quoted 9 lines · Ian Jackson
Quoted 6 lines

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

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

Ian.

From: Ian Jackson <[email protected]>
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

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)
Makefile +2 -0
index 5bdcdac..88315c4 100644
@@ -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
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel