Xen 4.8.0.bb: Difference between revisions

From Xen
Jump to navigationJump to search
No edit summary
No edit summary
Line 9: Line 9:
/etc/xen/scripts/launch-xenstore \
/etc/xen/scripts/launch-xenstore \
"
"
# The followings are for Xen 4.9:
FILES_${PN}-libxenstat += "\
FILES_${PN}-libxenstat += "\
/usr/share/pkgconfig/xenstat.pc \
${datadir}/pkgconfig/xenstat.pc \
"
"
FILES_${PN}-libblktapctl += "\
FILES_${PN}-libblktapctl += "\
/usr/share/pkgconfig/xenblktapctl.pc \
${datadir}/pkgconfig/xenblktapctl.pc \
"
"
FILES_${PN}-libxenstore += "\
FILES_${PN}-libxenstore += "\
/usr/share/pkgconfig/xenstore.pc \
${datadir}/pkgconfig/xenstore.pc \
"
"
FILES_${PN}-libxentoollog += "\
FILES_${PN}-libxentoollog += "\
/usr/share/pkgconfig/xentoollog.pc \
${datadir}/pkgconfig/xentoollog.pc \
"
"
FILES_${PN}-libxenctrl += "\
FILES_${PN}-libxenctrl += "\
/usr/share/pkgconfig/xencontrol.pc \
${datadir}/pkgconfig/xencontrol.pc \
"
"
FILES_${PN}-libxenguest += "\
FILES_${PN}-libxenguest += "\
/usr/share/pkgconfig/xenguest.pc \
${datadir}/pkgconfig/xenguest.pc \
"
RDEPENDS_${PN}-base += "\
${PN}-libxendevicemodel \
"
PACKAGES += "\
${PN}-libxendevicemodel \
"
FILES_${PN}-libxendevicemodel += "\
/usr/share/pkgconfig/xendevicemodel.pc \
"
"
FILES_${PN}-libxengnttab += "\
FILES_${PN}-libxengnttab += "\
/usr/share/pkgconfig/xengnttab.pc \
${datadir}/pkgconfig/xengnttab.pc \
"
"
FILES_${PN}-libxenvchan += "\
FILES_${PN}-libxenvchan += "\
/usr/share/pkgconfig/xenvchan.pc \
${datadir}/pkgconfig/xenvchan.pc \
"
"
FILES_${PN}-libxencall += "\
FILES_${PN}-libxencall += "\
/usr/share/pkgconfig/xencall.pc \
${datadir}/pkgconfig/xencall.pc \
"
"
FILES_${PN}-libxenforeignmemory += "\
FILES_${PN}-libxenforeignmemory += "\
/usr/share/pkgconfig/xenforeignmemory.pc \
${datadir}/pkgconfig/xenforeignmemory.pc \
"
"
FILES_${PN}-libxenevtchn += "\
FILES_${PN}-libxenevtchn += "\
/usr/share/pkgconfig/xenevtchn.pc \
${datadir}/pkgconfig/xenevtchn.pc \
"
"
FILES_${PN}-xendomains += "\
FILES_${PN}-xendomains += "\
${sysconfdir}/init.d/xendriverdomain \
${sysconfdir}/init.d/xendriverdomain \
"
"
# these 3 are for xen 4.9:
PACKAGES += "${PN}-xendevicemodel ${PN}-xendevicemodel-dev"
PACKAGES += "${PN}-xendevicemodel ${PN}-xendevicemodel-dev"
FILES_${PN}-xendevicemodel += "${libdir}/libxendevicemodel.so.*"
FILES_${PN}-xendevicemodel += "\
${libdir}/libxendevicemodel.so.* \
${datadir}/pkgconfig/xendevicemodel.pc \
"
FILES_${PN}-xendevicemodel-dev += "${libdir}/libxendevicemodel.so"
FILES_${PN}-xendevicemodel-dev += "${libdir}/libxendevicemodel.so"
Line 63: Line 57:
# update to the last commit and branch name
# update to the last commit and branch name
#SRCREV = "52e137952253b3bcec6f007c99f959cb6dbb96b4"
#SRC_URI = "git:///local/repos/xen-upstream;protocol=file;branch=ppp32;"
SRCREV = "de22e0dd0df7244052b978fdd939aae7a0937077"
SRCREV = "de22e0dd0df7244052b978fdd939aae7a0937077"
SRC_URI = "git://xenbits.xen.org/xen.git;protocol=git;branch=staging;"
SRC_URI = "git://xenbits.xen.org/xen.git;protocol=git;branch=staging;"

Revision as of 22:12, 20 April 2017

require recipes-extended/xen/xen.inc

DEPENDS += " iasl-native"

RDEPENDS_${PN}-xenstore = "bash"

FILES_${PN}-xenstore += "\
     /usr/lib/xen/bin/init-xenstore-domain \
     /etc/xen/scripts/launch-xenstore \
     "

# The followings are for Xen 4.9:
FILES_${PN}-libxenstat += "\
     ${datadir}/pkgconfig/xenstat.pc \
    "
FILES_${PN}-libblktapctl += "\
     ${datadir}/pkgconfig/xenblktapctl.pc \
    "
FILES_${PN}-libxenstore += "\
     ${datadir}/pkgconfig/xenstore.pc \
    "
FILES_${PN}-libxentoollog += "\
     ${datadir}/pkgconfig/xentoollog.pc \
    "
FILES_${PN}-libxenctrl += "\
     ${datadir}/pkgconfig/xencontrol.pc \
    "
FILES_${PN}-libxenguest += "\
     ${datadir}/pkgconfig/xenguest.pc \
    "
FILES_${PN}-libxengnttab += "\
     ${datadir}/pkgconfig/xengnttab.pc \
    "
FILES_${PN}-libxenvchan += "\
     ${datadir}/pkgconfig/xenvchan.pc \
    "
FILES_${PN}-libxencall += "\
     ${datadir}/pkgconfig/xencall.pc \
    "
FILES_${PN}-libxenforeignmemory += "\
     ${datadir}/pkgconfig/xenforeignmemory.pc \
    "
FILES_${PN}-libxenevtchn += "\
     ${datadir}/pkgconfig/xenevtchn.pc \
    "
FILES_${PN}-xendomains += "\
    ${sysconfdir}/init.d/xendriverdomain \
    "
PACKAGES += "${PN}-xendevicemodel ${PN}-xendevicemodel-dev"
FILES_${PN}-xendevicemodel += "\
    ${libdir}/libxendevicemodel.so.* \
    ${datadir}/pkgconfig/xendevicemodel.pc \
    "
FILES_${PN}-xendevicemodel-dev += "${libdir}/libxendevicemodel.so"

DEFAULT_PREFERENCE = "1"

# update to the last commit and branch name
SRCREV = "de22e0dd0df7244052b978fdd939aae7a0937077"
SRC_URI = "git://xenbits.xen.org/xen.git;protocol=git;branch=staging;"

S = "${WORKDIR}/git"

LIC_FILES_CHKSUM = "file://COPYING;md5=bbb4b1bdc2c3b6743da3c39d03249095"

# Xen suffixes the libexecdir within its configure scripts, prevent the nested xen/xen/
libexecdir = "${libdir}"

# These options override detected values from the build.
EXTRA_OECONF_append += " \
    --with-initddir=${INIT_D_DIR} \
    --with-sysconfig-leaf-dir=default \
    --with-system-qemu=/usr/bin/qemu-system-i386 \
    --disable-qemu-traditional \
    "
EXTRA_OEMAKE += "CROSS_COMPILE=${TARGET_PREFIX} APPEND_CFLAGS=-Wno-error"