Skip to contentSkip to conversation

Add libxen to overall xen build

RFC PATCH In review Jim Fehlig 2 participants 4 messages Nov 22, 2006 – Nov 30, 2006

lore
Share & tools
lore

Jim Fehlig

author
#0 lore raw

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
diff -r 08007423788a -r 234b8e33a4b4 Config.mk
@@ -71,5 +71,6 @@ XENSTAT_XENTOP ?= y
 XENSTAT_XENTOP ?= y
 
 VTPM_TOOLS ?= n
+LIBXENAPI_BINDINGS ?= n
 
 -include $(XEN_ROOT)/.config
tools/Makefile +1 -0
diff -r 08007423788a -r 234b8e33a4b4 tools/Makefile
@@ -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

#1 lore raw
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_bindings program since it introduces yet another dependency - libcurl.

Applied, thanks Jim. Are you going to integrate docs/xen-api into the build as well?

Ewan.

author
#2 lore raw
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_bindings program 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

#3 lore raw
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_bindings program 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.