1 ################################################################################
5 ################################################################################
8 XEN_SITE
= http
://bits.xensource.com
/oss-xen
/release
/$(XEN_VERSION
)
10 XEN_LICENSE_FILES
= COPYING
11 XEN_DEPENDENCIES
= host-python
14 ifeq ($(ARCH
),aarch64
)
16 else ifeq ($(ARCH
),arm
)
20 XEN_CONF_OPTS
= --disable-ocamltools
22 XEN_CONF_ENV
= PYTHON
=$(HOST_DIR
)/usr
/bin
/python2
24 XEN_TARGET_ARCH
=$(XEN_ARCH
) \
25 CROSS_COMPILE
=$(TARGET_CROSS
) \
26 $(TARGET_CONFIGURE_OPTS
)
28 ifeq ($(BR2_PACKAGE_XEN_HYPERVISOR
),y
)
29 XEN_MAKE_OPTS
+= dist-xen
30 XEN_INSTALL_IMAGES
= YES
31 define XEN_INSTALL_IMAGES_CMDS
32 cp
$(@D
)/xen
/xen
$(BINARIES_DIR
)
35 XEN_CONF_OPTS
+= --disable-xen
38 ifeq ($(BR2_PACKAGE_XEN_TOOLS
),y
)
39 XEN_DEPENDENCIES
+= dtc libaio libglib2 ncurses openssl pixman util-linux yajl
40 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE
),y
)
41 XEN_DEPENDENCIES
+= argp-standalone
43 XEN_INSTALL_TARGET_OPTS
+= DESTDIR
=$(TARGET_DIR
) install-tools
44 XEN_MAKE_OPTS
+= dist-tools
46 define XEN_INSTALL_INIT_SYSV
47 mv
$(TARGET_DIR
)/etc
/init.d
/xencommons
$(TARGET_DIR
)/etc
/init.d
/S50xencommons
48 mv
$(TARGET_DIR
)/etc
/init.d
/xen-watchdog
$(TARGET_DIR
)/etc
/init.d
/S50xen-watchdog
49 mv
$(TARGET_DIR
)/etc
/init.d
/xendomains
$(TARGET_DIR
)/etc
/init.d
/S60xendomains
52 XEN_INSTALL_TARGET
= NO
53 XEN_CONF_OPTS
+= --disable-tools
56 $(eval
$(autotools-package
))