From 374d5dc2459657b80794be6b2d95cbdd78c8ed67 Mon Sep 17 00:00:00 2001 From: Philip Tricca Date: Mon, 28 Oct 2013 22:10:48 +0000 Subject: 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 Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen_4.3.0.bb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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}" # overide LDFLAGS to allow xen to build without: "x86_64-oe-linux-ld: unrecognized option '-Wl,-O1'" export LDFLAGS="" +EXTRA_OECONF += " \ + --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)} \ +" + do_configure() { # fixup qemu-xen-traditional pciutils check hardcoded to test ${includedir}/pci sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g' ${S}/tools/qemu-xen-traditional/xen-hooks.mak @@ -580,7 +591,7 @@ do_configure() { fi # do configure - ./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)}" + oe_runconf # seabios needs a patch to specify correct compiler - pull and patch Makefile make -C ${S}/tools/firmware seabios-dir -- cgit v1.2.3-54-g00ecf