27 lines
881 B
Plaintext

modules-$(CONFIG_XEN) += xen
# We extract the entire Xen tree, but only use the xen/xen hypervisor
# portion since Qubes provides the rest of it.
xen_base_version := 4.6.6
xen_version := $(xen_base_version)-29
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_hash := 64bf6a7179252d954ed67cfc7b64af88016812164032e4aaa30e0fc996e73d90
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__\\\"" \
xen.gz