summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/xen/xen.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/xen/xen.mk b/package/xen/xen.mk
index 759667af45..e2abf2537c 100644
--- a/package/xen/xen.mk
+++ b/package/xen/xen.mk
@@ -8,6 +8,7 @@ XEN_VERSION = 4.6.0
XEN_SITE = http://bits.xensource.com/oss-xen/release/$(XEN_VERSION)
XEN_LICENSE = GPLv2
XEN_LICENSE_FILES = COPYING
+XEN_DEPENDENCIES = host-python
# Calculate XEN_ARCH
ifeq ($(ARCH),aarch64)
@@ -17,6 +18,8 @@ XEN_ARCH = arm32
endif
XEN_CONF_OPTS = --disable-ocamltools
+
+XEN_CONF_ENV = PYTHON=$(HOST_DIR)/usr/bin/python2
XEN_MAKE_ENV = \
XEN_TARGET_ARCH=$(XEN_ARCH) \
CROSS_COMPILE=$(TARGET_CROSS) \
OpenPOWER on IntegriCloud