2017-06-26 17:07:48 +00:00
|
|
|
modules-$(CONFIG_XEN) += xen
|
|
|
|
|
2017-09-14 02:10:46 +00:00
|
|
|
ifeq "$(CONFIG_XEN_VERSION)" "4.8"
|
|
|
|
xen_base_version := 4.8.2
|
2017-12-02 19:47:52 +00:00
|
|
|
xen_version := $(xen_base_version)-11
|
|
|
|
xen_hash := 417bd9585cf8c460812475023bdb80ee964a51205783922b673bed3226d6b91d
|
2017-09-14 02:10:46 +00:00
|
|
|
else
|
|
|
|
xen_base_version := 4.6.6
|
2017-12-02 19:47:52 +00:00
|
|
|
xen_version := $(xen_base_version)-35
|
|
|
|
xen_hash := af1089c84c277d1d88d25b62184fa21518828e034b08dbb4b039a6c1f6676e55
|
2017-09-14 02:10:46 +00:00
|
|
|
endif
|
|
|
|
|
2017-06-26 17:07:48 +00:00
|
|
|
# We extract the entire Xen tree, but only use the xen/xen hypervisor
|
|
|
|
# portion since Qubes provides the rest of it.
|
2017-09-14 02:10:46 +00:00
|
|
|
xen_dir := qubes-vmm-xen-$(xen_version)
|
2017-06-26 17:07:48 +00:00
|
|
|
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) \
|
2017-06-26 20:33:49 +00:00
|
|
|
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__\\\"" \
|
2017-09-14 02:10:46 +00:00
|
|
|
HOSTCC="gcc" \
|
2017-06-26 17:07:48 +00:00
|
|
|
xen.gz
|