aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Rules.mk
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2012-08-01 12:46:51 +0100
committerAndrew Cooper <andrew.cooper3@citrix.com>2012-08-01 12:46:51 +0100
commitf47d809c449a105b77fbc5fc6f058b24f8537a94 (patch)
tree2c3e96900da99ce5e8c6cb4b6a071c49ae68b81c /tools/Rules.mk
parent0bd69acf0481e0c7997b0e916345ad53a1be0e42 (diff)
downloadxen-f47d809c449a105b77fbc5fc6f058b24f8537a94.tar.gz
xen-f47d809c449a105b77fbc5fc6f058b24f8537a94.tar.bz2
xen-f47d809c449a105b77fbc5fc6f058b24f8537a94.zip
tools/config: Allow building of components to be controlled from .config
For build systems which build certain Xen components separately, allow certain components to be conditionally built based on .config, rather than always building them. This patch allows qemu and blktap to be configured in this manner. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/Rules.mk')
-rw-r--r--tools/Rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Rules.mk b/tools/Rules.mk
index 2dd8ed3913..f4e84c1b77 100644
--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -40,9 +40,9 @@ LDLIBS_libxenvchan = $(SHLIB_libxenctrl) $(SHLIB_libxenstore) -L$(XEN_LIBVCHAN)
SHLIB_libxenvchan = -Wl,-rpath-link=$(XEN_LIBVCHAN)
ifeq ($(CONFIG_Linux),y)
-LIBXL_BLKTAP = y
+LIBXL_BLKTAP ?= y
else
-LIBXL_BLKTAP = n
+LIBXL_BLKTAP ?= n
endif
ifeq ($(LIBXL_BLKTAP),y)