diff options
Diffstat (limited to 'recipes-extended/xen/xen.inc')
-rw-r--r-- | recipes-extended/xen/xen.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 86508ff4..a46421b8 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -693,6 +693,11 @@ python () { | |||
693 | raise bb.parse.SkipPackage('Cannot map `%s` to a xen architecture' % d.getVar('TARGET_ARCH', True)) | 693 | raise bb.parse.SkipPackage('Cannot map `%s` to a xen architecture' % d.getVar('TARGET_ARCH', True)) |
694 | } | 694 | } |
695 | 695 | ||
696 | # Yocto appends ${PN} to libexecdir by default and Xen appends 'xen' as well | ||
697 | # the result is a nested xen/xen/ so let's avoid that by shunning Yocto's | ||
698 | # extra ${PN} appended. | ||
699 | libexecdir = "${libdir}" | ||
700 | |||
696 | # hardcoded as Linux, as the only compatible hosts are Linux. | 701 | # hardcoded as Linux, as the only compatible hosts are Linux. |
697 | export XEN_OS = "Linux" | 702 | export XEN_OS = "Linux" |
698 | 703 | ||
@@ -720,8 +725,17 @@ EXTRA_OECONF += " \ | |||
720 | --disable-xenstore-stubdom \ | 725 | --disable-xenstore-stubdom \ |
721 | --disable-rombios \ | 726 | --disable-rombios \ |
722 | --disable-ocamltools \ | 727 | --disable-ocamltools \ |
728 | --with-initddir=${INIT_D_DIR} \ | ||
729 | --with-sysconfig-leaf-dir=default \ | ||
730 | --with-system-qemu=/usr/bin/qemu-system-i386 \ | ||
731 | --disable-qemu-traditional \ | ||
723 | " | 732 | " |
724 | 733 | ||
734 | EXTRA_OEMAKE += "STDVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.bin" | ||
735 | EXTRA_OEMAKE += "CIRRUSVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.cirrus.bin" | ||
736 | EXTRA_OEMAKE += "SEABIOS_ROM=${STAGING_DIR_HOST}/usr/share/firmware/bios.bin" | ||
737 | EXTRA_OEMAKE += "ETHERBOOT_ROMS=${STAGING_DIR_HOST}/usr/share/firmware/rtl8139.rom" | ||
738 | |||
725 | # check for XSM in package config to allow XSM_ENABLE to be set | 739 | # check for XSM in package config to allow XSM_ENABLE to be set |
726 | python () { | 740 | python () { |
727 | pkgconfig = d.getVar('PACKAGECONFIG', True) | 741 | pkgconfig = d.getVar('PACKAGECONFIG', True) |