direct-io.hg

changeset 14271:2cf842558b2e

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>
author kfraser@localhost.localdomain
date Tue Mar 06 16:46:20 2007 +0000 (2007-03-06)
parents af6293fd3134
children 095a476a96b1
files Config.mk tools/Makefile
line diff
     1.1 --- a/Config.mk	Tue Mar 06 15:02:20 2007 +0000
     1.2 +++ b/Config.mk	Tue Mar 06 16:46:20 2007 +0000
     1.3 @@ -73,9 +73,10 @@ ACM_SECURITY ?= n
     1.4  ACM_DEFAULT_SECURITY_POLICY ?= ACM_NULL_POLICY
     1.5  
     1.6  # Optional components
     1.7 -XENSTAT_XENTOP ?= y
     1.8 -VTPM_TOOLS ?= n
     1.9 +XENSTAT_XENTOP     ?= y
    1.10 +VTPM_TOOLS         ?= n
    1.11  LIBXENAPI_BINDINGS ?= n
    1.12 -XENFB_TOOLS ?= n
    1.13 +XENFB_TOOLS        ?= n
    1.14 +PYTHON_TOOLS       ?= y
    1.15  
    1.16  -include $(XEN_ROOT)/.config
     2.1 --- a/tools/Makefile	Tue Mar 06 15:02:20 2007 +0000
     2.2 +++ b/tools/Makefile	Tue Mar 06 16:46:20 2007 +0000
     2.3 @@ -24,8 +24,8 @@ SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen
     2.4  
     2.5  # These don't cross-compile
     2.6  ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
     2.7 -SUBDIRS-y += python
     2.8 -SUBDIRS-y += pygrub
     2.9 +SUBDIRS-$(PYTHON_TOOLS) += python
    2.10 +SUBDIRS-$(PYTHON_TOOLS) += pygrub
    2.11  endif
    2.12  
    2.13  .PHONY: all