Add libxen to overall xen build
RFC PATCH 1/1 Add libxen to overall xen build
libxen (c-bindings to new XenAPI) is not integrated into the overall xen build. This patch enables building of libxen when 'LIBXENAPI_BINDINGS ?= y' in Config.mk.
Headers are installed in $(DESTDIR)/usr/include/xen/api and libs in $(DESTDIR/usr/$(LIBDIR). I did not include the test_bindings program since it introduces yet another dependency - libcurl.
Regards,
Jim
# HG changeset patch
# User [email protected]
# Date 1164230707 25200
# Node ID 234b8e33a4b4a923b816b43c91f76bd4b97a36cf
# Parent 08007423788ab86753515756b8142b075162c336
Add libxen to overall xen build via a config option in Config.mk.
Config.mk +1 -0
@@ -71,5 +71,6 @@ XENSTAT_XENTOP ?= y XENSTAT_XENTOP ?= y VTPM_TOOLS ?= n +LIBXENAPI_BINDINGS ?= n -include $(XEN_ROOT)/.config
tools/Makefile +1 -0
@@ -19,6 +19,7 @@ SUBDIRS-y += libaio SUBDIRS-y += libaio SUBDIRS-y += blktap SUBDIRS-y += libfsimage +SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen # These don't cross-compile ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
tools/libxen/Makefile +38 -6
61 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines · Jim Fehlig
libxen (c-bindings to new XenAPI) is not integrated into the overall xen build. This patch enables building of libxen when '
LIBXENAPI_BINDINGS?= y' in Config.mk.Headers are installed in $(DESTDIR)/usr/include/xen/api and libs in $(DESTDIR/usr/$(LIBDIR). I did not include the
test_bindingsprogram since it introduces yet another dependency - libcurl.
Applied, thanks Jim. Are you going to integrate docs/xen-api into the build as well?
Ewan.
Quoted 11 lines · Ewan Mellor
Quoted 4 lines · Jim Fehlig
libxen (c-bindings to new XenAPI) is not integrated into the overall xen build. This patch enables building of libxen when '
LIBXENAPI_BINDINGS?= y' in Config.mk.Headers are installed in $(DESTDIR)/usr/include/xen/api and libs in $(DESTDIR/usr/$(LIBDIR). I did not include the
test_bindingsprogram since it introduces yet another dependency - libcurl.Applied, thanks Jim. Are you going to integrate docs/xen-api into the build as well?
Ah, forgot about the docs :-/. I'll put it on my todo-list - to be done after next week's ManDev conference.
Jim
Quoted 13 lines · Jim Fehlig
Quoted 12 lines · Ewan Mellor
Quoted 8 lines · Jim Fehlig
libxen (c-bindings to new XenAPI) is not integrated into the overall xen build. This patch enables building of libxen when '
LIBXENAPI_BINDINGS?= y' in Config.mk.Headers are installed in $(DESTDIR)/usr/include/xen/api and libs in $(DESTDIR/usr/$(LIBDIR). I did not include the
test_bindingsprogram since it introduces yet another dependency - libcurl.
Quoted 7 lines
Quoted 4 lines
Applied, thanks Jim. Are you going to integrate docs/xen-api into the build
as well?Ah, forgot about the docs :-/. I'll put it on my todo-list - to be done after next week's ManDev conference.
That sounds great, thanks Jim.
Ewan.