]> xenbits.xensource.com Git - people/liuw/mini-os.git/commitdiff
mini-os: Include libxentoollog with libxc
authorIan Campbell <ian.campbell@citrix.com>
Thu, 3 Dec 2015 11:23:25 +0000 (11:23 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 9 Dec 2015 11:55:28 +0000 (11:55 +0000)
libxentoollog has just been split out from libxc. From mini-os's point
of view we don't care about the distinction, so keep things simple by
just including libxentoollog if libxc is enabled.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Makefile

index 2cb5e51a16d7da06e523e36488610a0727849d72..daee46c0887b4454180f73e54345db63f812efda 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -165,6 +165,7 @@ 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)/toollog -whole-archive -lxentoollog -no-whole-archive
 APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libxc-$(MINIOS_TARGET_ARCH) -whole-archive -lxenguest -lxenctrl -no-whole-archive
 endif
 APP_LDLIBS += -lpci