|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] ocaml: Build components by default on Lin
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273140602 -3600
# Node ID bf450c08f7f9c4e7e2549b6fd6d5fa009e307c19
# Parent 6f0997ef40db055b751abeb0d9d149e070361117
ocaml: Build components by default on Linux if toolchain installed.
Signed-off-by: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
---
Config.mk | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletion(-)
diff -r 6f0997ef40db -r bf450c08f7f9 Config.mk
--- a/Config.mk Thu May 06 11:07:11 2010 +0100
+++ b/Config.mk Thu May 06 11:10:02 2010 +0100
@@ -163,8 +163,16 @@ VTPM_TOOLS ?= n
VTPM_TOOLS ?= n
LIBXENAPI_BINDINGS ?= n
PYTHON_TOOLS ?= y
-OCAML_TOOLS ?= n
+OCAML_TOOLS ?= y
CONFIG_MINITERM ?= n
CONFIG_LOMOUNT ?= n
+ifeq ($(OCAML_TOOLS),y)
+ifeq ($(CONFIG_Linux),y)
+OCAML_TOOLS := $(shell ocamlopt -v > /dev/null 2>&1 && echo "y" || echo "n")
+else
+OCAML_TOOLS := n
+endif
+endif
+
-include $(XEN_ROOT)/.config
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] ocaml: Build components by default on Linux if toolchain installed.,
Xen patchbot-unstable <=
|
|
|
|
|