diff options
-rw-r--r-- | recipes-extended/xen/xen_4.3.0.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen_4.3.0.bb b/recipes-extended/xen/xen_4.3.0.bb index 078b39c9..7a0e4089 100644 --- a/recipes-extended/xen/xen_4.3.0.bb +++ b/recipes-extended/xen/xen_4.3.0.bb | |||
@@ -563,6 +563,17 @@ export CROSS_COMPILE="${TARGET_PREFIX}" | |||
563 | # overide LDFLAGS to allow xen to build without: "x86_64-oe-linux-ld: unrecognized option '-Wl,-O1'" | 563 | # overide LDFLAGS to allow xen to build without: "x86_64-oe-linux-ld: unrecognized option '-Wl,-O1'" |
564 | export LDFLAGS="" | 564 | export LDFLAGS="" |
565 | 565 | ||
566 | EXTRA_OECONF += " \ | ||
567 | --exec-prefix=/usr \ | ||
568 | --prefix=/usr \ | ||
569 | --host=${HOST_SYS} \ | ||
570 | --disable-stubdom \ | ||
571 | --disable-ioemu-stubdom \ | ||
572 | --disable-pv-grub \ | ||
573 | --disable-xenstore-stubdom \ | ||
574 | ${@base_contains('DISTRO_FEATURES', 'xsm', '--enable-xsmpolicy', '--disable-xsmpolicy',d)} \ | ||
575 | " | ||
576 | |||
566 | do_configure() { | 577 | do_configure() { |
567 | # fixup qemu-xen-traditional pciutils check hardcoded to test ${includedir}/pci | 578 | # fixup qemu-xen-traditional pciutils check hardcoded to test ${includedir}/pci |
568 | sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g' ${S}/tools/qemu-xen-traditional/xen-hooks.mak | 579 | sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g' ${S}/tools/qemu-xen-traditional/xen-hooks.mak |
@@ -580,7 +591,7 @@ do_configure() { | |||
580 | fi | 591 | fi |
581 | 592 | ||
582 | # do configure | 593 | # do configure |
583 | ./configure --exec-prefix=/usr --prefix=/usr --host=${HOST_SYS} --disable-stubdom --disable-ioemu-stubdom --disable-pv-grub --disable-xenstore-stubdom "${@base_contains('DISTRO_FEATURES', 'xsm', '--enable-xsmpolicy', '--disable-xsmpolicy',d)}" | 594 | oe_runconf |
584 | 595 | ||
585 | # seabios needs a patch to specify correct compiler - pull and patch Makefile | 596 | # seabios needs a patch to specify correct compiler - pull and patch Makefile |
586 | make -C ${S}/tools/firmware seabios-dir | 597 | make -C ${S}/tools/firmware seabios-dir |