From: Ian Campbell Date: Thu, 3 Dec 2015 11:23:25 +0000 (+0000) Subject: mini-os: Include libxentoollog with libxc X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d25773c8afa2f4dbbb466116daeb60159ddd22bd;p=people%2Fliuw%2Flibxenctrl-split%2Fmini-os.git mini-os: Include libxentoollog with libxc 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 Acked-by: Samuel Thibault Acked-by: Wei Liu --- diff --git a/Makefile b/Makefile index 2cb5e51..daee46c 100644 --- 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