package/xen: use host-python3 to build
authorAlistair Francis <alistair.francis@wdc.com>
Tue, 4 Feb 2020 21:08:55 +0000 (13:08 -0800)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 4 Feb 2020 21:41:23 +0000 (22:41 +0100)
As noted in https://wiki.xenproject.org/wiki/Xen_Project_4.13_Release_Notes

- Xen 4.13 is now fully Py3 compatible

So swith to that now that python 2.x is EOL.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
[Peter: extend commit message]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/xen/xen.mk

index 951af963e068920397c98c40b6903c2674db2090..fa49f5996bc4abe92c0a280364bf71d65d0737ef 100644 (file)
@@ -8,7 +8,7 @@ XEN_VERSION = 4.13.0
 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
 XEN_LICENSE = GPL-2.0
 XEN_LICENSE_FILES = COPYING
-XEN_DEPENDENCIES = host-acpica host-python
+XEN_DEPENDENCIES = host-acpica host-python3
 
 # Calculate XEN_ARCH
 ifeq ($(ARCH),aarch64)
@@ -21,7 +21,7 @@ XEN_CONF_OPTS = \
        --disable-ocamltools \
        --with-initddir=/etc/init.d
 
-XEN_CONF_ENV = PYTHON=$(HOST_DIR)/bin/python2
+XEN_CONF_ENV = PYTHON=$(HOST_DIR)/bin/python3
 XEN_MAKE_ENV = \
        XEN_TARGET_ARCH=$(XEN_ARCH) \
        CROSS_COMPILE=$(TARGET_CROSS) \