[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Make Python tools (i.e., xend and pygrub) conditionally compiled.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1173199580 0
# Node ID 2cf842558b2eabbcb33909578c14bfcb3520c50f
# Parent  af6293fd313490d02ffc11a53f211d1c454a8b05
Make Python tools (i.e., xend and pygrub) conditionally compiled.

Config option is PYTHON_TOOLS, default is 'y'.

Signed-off-by: Ben Thomas <ben@xxxxxxxxxxxxxxx>
---
 Config.mk      |    7 ++++---
 tools/Makefile |    4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff -r af6293fd3134 -r 2cf842558b2e Config.mk
--- a/Config.mk Tue Mar 06 15:02:20 2007 +0000
+++ b/Config.mk Tue Mar 06 16:46:20 2007 +0000
@@ -73,9 +73,10 @@ ACM_DEFAULT_SECURITY_POLICY ?= ACM_NULL_
 ACM_DEFAULT_SECURITY_POLICY ?= ACM_NULL_POLICY
 
 # Optional components
-XENSTAT_XENTOP ?= y
-VTPM_TOOLS ?= n
+XENSTAT_XENTOP     ?= y
+VTPM_TOOLS         ?= n
 LIBXENAPI_BINDINGS ?= n
-XENFB_TOOLS ?= n
+XENFB_TOOLS        ?= n
+PYTHON_TOOLS       ?= y
 
 -include $(XEN_ROOT)/.config
diff -r af6293fd3134 -r 2cf842558b2e tools/Makefile
--- a/tools/Makefile    Tue Mar 06 15:02:20 2007 +0000
+++ b/tools/Makefile    Tue Mar 06 16:46:20 2007 +0000
@@ -24,8 +24,8 @@ SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen
 
 # These don't cross-compile
 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
-SUBDIRS-y += python
-SUBDIRS-y += pygrub
+SUBDIRS-$(PYTHON_TOOLS) += python
+SUBDIRS-$(PYTHON_TOOLS) += pygrub
 endif
 
 .PHONY: all

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.