diff options
| author | Philip Tricca <flihp@twobit.us> | 2013-10-28 22:10:48 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-29 14:35:05 -0400 |
| commit | 374d5dc2459657b80794be6b2d95cbdd78c8ed67 (patch) | |
| tree | 3e6a88a8039bd7404f08fdb1cbe18ea98b013f2f | |
| parent | 0997753a6e8cbb3103996b0971be2974e3aede1e (diff) | |
| download | meta-virtualization-374d5dc2459657b80794be6b2d95cbdd78c8ed67.tar.gz | |
xen: convert direct call to ./configure with oe_runconf and EXTRA_OECONF
enable/disable stuff will eventually be replaced with appropriate
use of PACKAGECONFIG.
Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| -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 |
