modules-$(CONFIG_XEN) += xen ifeq "$(CONFIG_XEN_VERSION)" "4.8" xen_base_version := 4.8.2 xen_version := $(xen_base_version)-2 xen_hash := 866855dfbe1e7d6086738e2e82fa0475bf831f4a65df224abf6dc5589122c7d5 else xen_base_version := 4.6.6 xen_version := $(xen_base_version)-30 xen_hash := 65cdbdb77d30475d77d849011343cba970b61c99d6638ccfeca4b7bbc308dc36 endif # We extract the entire Xen tree, but only use the xen/xen hypervisor # portion since Qubes provides the rest of it. xen_dir := qubes-vmm-xen-$(xen_version) xen_tar := qubes-vmm-xen-$(xen_version).tar.gz xen_url := https://github.com/QubesOS/qubes-vmm-xen/archive/v$(xen_version).tar.gz xen_depends := musl-cross xen_output := xen-$(xen_base_version)/xen/xen.gz xen_configure := xen_target := \ $(MAKE_JOBS) \ $(CROSS_TOOLS_NOCC) \ XEN_WHOAMI=builder \ XEN_DOMAIN=heads \ XEN_BUILD_DATE=1970-01-01 \ XEN_BUILD_TIME=00:00:00 \ XEN_BUILD_HOST=xen-buildhost \ CC="$(CROSS)gcc -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches -Wno-builtin-macro-redefined -D__FILE__=\\\"__FILE__\\\"" \ HOSTCC="gcc" \ xen.gz