c9d27610ab
Includes security fixes up to XSA-359: XSA-345: x86: Race condition in Xen mapping code XSA-346: undue deferral of IOMMU TLB flushes XSA-347: unsafe AMD IOMMU page table updates XSA-348: undue recursion in x86 HVM context switch code (CVE-2020-29566) XSA-351: Information leak via power sidechannel (CVE-2020-28368) XSA-352: oxenstored: node ownership can be changed by unprivileged clients (CVE-2020-29486) XSA-353: oxenstored: permissions not checked on root node (CVE-2020-29479) XSA-355: stack corruption from XSA-346 change XSA-356: infinite loop when cleaning up IRQ vectors (CVE-2020-29567) XSA-358: FIFO event channels control block related ordering (CVE-2020-29570) XSA-359: FIFO event channels control structure ordering (CVE-2020-29571) And drop now upstreamed security patches. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
64 lines
1.7 KiB
Makefile
64 lines
1.7 KiB
Makefile
################################################################################
|
|
#
|
|
# Xen
|
|
#
|
|
################################################################################
|
|
|
|
XEN_VERSION = 4.14.1
|
|
XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
|
|
XEN_LICENSE = GPL-2.0
|
|
XEN_LICENSE_FILES = COPYING
|
|
XEN_DEPENDENCIES = host-acpica host-python3
|
|
|
|
# Calculate XEN_ARCH
|
|
ifeq ($(ARCH),aarch64)
|
|
XEN_ARCH = arm64
|
|
else ifeq ($(ARCH),arm)
|
|
XEN_ARCH = arm32
|
|
endif
|
|
|
|
XEN_CONF_OPTS = \
|
|
--disable-golang \
|
|
--disable-ocamltools \
|
|
--with-initddir=/etc/init.d
|
|
|
|
XEN_CONF_ENV = PYTHON=$(HOST_DIR)/bin/python3
|
|
XEN_MAKE_ENV = \
|
|
XEN_TARGET_ARCH=$(XEN_ARCH) \
|
|
CROSS_COMPILE=$(TARGET_CROSS) \
|
|
HOST_EXTRACFLAGS="-Wno-error" \
|
|
XEN_HAS_CHECKPOLICY=n \
|
|
$(TARGET_CONFIGURE_OPTS)
|
|
|
|
ifeq ($(BR2_PACKAGE_XEN_HYPERVISOR),y)
|
|
XEN_MAKE_OPTS += dist-xen
|
|
XEN_INSTALL_IMAGES = YES
|
|
define XEN_INSTALL_IMAGES_CMDS
|
|
cp $(@D)/xen/xen $(BINARIES_DIR)
|
|
endef
|
|
else
|
|
XEN_CONF_OPTS += --disable-xen
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XEN_TOOLS),y)
|
|
XEN_DEPENDENCIES += \
|
|
dtc libaio libglib2 ncurses openssl pixman slirp util-linux yajl
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
|
XEN_DEPENDENCIES += argp-standalone
|
|
endif
|
|
XEN_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-tools
|
|
XEN_MAKE_OPTS += dist-tools
|
|
XEN_CONF_OPTS += --with-extra-qemuu-configure-args="--disable-sdl --disable-opengl"
|
|
|
|
define XEN_INSTALL_INIT_SYSV
|
|
mv $(TARGET_DIR)/etc/init.d/xencommons $(TARGET_DIR)/etc/init.d/S50xencommons
|
|
mv $(TARGET_DIR)/etc/init.d/xen-watchdog $(TARGET_DIR)/etc/init.d/S50xen-watchdog
|
|
mv $(TARGET_DIR)/etc/init.d/xendomains $(TARGET_DIR)/etc/init.d/S60xendomains
|
|
endef
|
|
else
|
|
XEN_INSTALL_TARGET = NO
|
|
XEN_CONF_OPTS += --disable-tools
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|