aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-06 16:46:20 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-06 16:46:20 +0000
commitca7a6b3eb20707df25761dc866f9e23884e0183c (patch)
tree33cca488030acbf0036195096b446484cff1bea9 /tools/Makefile
parent392a8c76b8de2cbb2abb13e806d391c441ba9549 (diff)
downloadxen-ca7a6b3eb20707df25761dc866f9e23884e0183c.tar.gz
xen-ca7a6b3eb20707df25761dc866f9e23884e0183c.tar.bz2
xen-ca7a6b3eb20707df25761dc866f9e23884e0183c.zip
Make Python tools (i.e., xend and pygrub) conditionally compiled.
Config option is PYTHON_TOOLS, default is 'y'. Signed-off-by: Ben Thomas <ben@virtualiron.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index b4156fc904..7cd81f87bf 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -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