[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] autoconf: add ovmf, rombios and seabios and configure options
# HG changeset patch # User Roger Pau Monne <roger.pau@xxxxxxxxxx> # Date 1335284917 -3600 # Node ID 0342e9ff1adc923826ed944b0655076233136e89 # Parent fb39cccb50e5430dce1ec612fd745b85061ebb10 autoconf: add ovmf, rombios and seabios and configure options Move this hardcoded options from Config.mk to config/Tools.mk and add the appropiate configure options. Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- diff -r fb39cccb50e5 -r 0342e9ff1adc Config.mk --- a/Config.mk Tue Apr 24 17:12:22 2012 +0100 +++ b/Config.mk Tue Apr 24 17:28:37 2012 +0100 @@ -208,10 +208,6 @@ SEABIOS_UPSTREAM_TAG ?= rel-1.6.3.2 ETHERBOOT_NICS ?= rtl8139 8086100e -CONFIG_OVMF ?= n -CONFIG_ROMBIOS ?= y -CONFIG_SEABIOS ?= y - # Specify which qemu-dm to use. This may be `ioemu' to use the old # Mercurial in-tree version, or a local directory, or a git URL. # CONFIG_QEMU ?= `pwd`/$(XEN_ROOT)/../qemu-xen.git diff -r fb39cccb50e5 -r 0342e9ff1adc config/Tools.mk.in --- a/config/Tools.mk.in Tue Apr 24 17:12:22 2012 +0100 +++ b/config/Tools.mk.in Tue Apr 24 17:28:37 2012 +0100 @@ -44,6 +44,9 @@ PYTHON_TOOLS := @pythontools@ OCAML_TOOLS := @ocamltools@ CONFIG_MINITERM := @miniterm@ CONFIG_LOMOUNT := @lomount@ +CONFIG_OVMF := @ovmf@ +CONFIG_ROMBIOS := @rombios@ +CONFIG_SEABIOS := @seabios@ #System options CONFIG_SYSTEM_LIBAIO:= @system_aio@ diff -r fb39cccb50e5 -r 0342e9ff1adc tools/configure --- a/tools/configure Tue Apr 24 17:12:22 2012 +0100 +++ b/tools/configure Tue Apr 24 17:28:37 2012 +0100 @@ -653,6 +653,9 @@ APPEND_INCLUDES PREPEND_LIB PREPEND_INCLUDES debug +seabios +rombios +ovmf lomount miniterm ocamltools @@ -728,6 +731,9 @@ enable_pythontools enable_ocamltools enable_miniterm enable_lomount +enable_ovmf +enable_rombios +enable_seabios enable_debug ' ac_precious_vars='build_alias @@ -1386,6 +1392,9 @@ Optional Features: --disable-ocamltools Disable Ocaml tools (default is ENABLED) --enable-miniterm Enable miniterm (default is DISABLED) --enable-lomount Enable lomount (default is DISABLED) + --enable-ovmf Enable OVMF (default is DISABLED) + --disable-rombios Disable ROM BIOS (default is ENABLED) + --disable-seabios Disable SeaBIOS (default is ENABLED) --disable-debug Disable debug build of tools (default is ENABLED) Some influential environment variables: @@ -4133,6 +4142,75 @@ lomount=$ax_cv_lomount +# Check whether --enable-ovmf was given. +if test "${enable_ovmf+set}" = set; then : + enableval=$enable_ovmf; +fi + + +if test "x$enable_ovmf" = "xno"; then : + + ax_cv_ovmf="n" + +elif test "x$enable_ovmf" = "xyes"; then : + + ax_cv_ovmf="y" + +elif test -z $ax_cv_ovmf; then : + + ax_cv_ovmf="n" + +fi +ovmf=$ax_cv_ovmf + + + +# Check whether --enable-rombios was given. +if test "${enable_rombios+set}" = set; then : + enableval=$enable_rombios; +fi + + +if test "x$enable_rombios" = "xno"; then : + + ax_cv_rombios="n" + +elif test "x$enable_rombios" = "xyes"; then : + + ax_cv_rombios="y" + +elif test -z $ax_cv_rombios; then : + + ax_cv_rombios="y" + +fi +rombios=$ax_cv_rombios + + + +# Check whether --enable-seabios was given. +if test "${enable_seabios+set}" = set; then : + enableval=$enable_seabios; +fi + + +if test "x$enable_seabios" = "xno"; then : + + ax_cv_seabios="n" + +elif test "x$enable_seabios" = "xyes"; then : + + ax_cv_seabios="y" + +elif test -z $ax_cv_seabios; then : + + ax_cv_seabios="y" + +fi +seabios=$ax_cv_seabios + + + # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then : enableval=$enable_debug; diff -r fb39cccb50e5 -r 0342e9ff1adc tools/configure.ac --- a/tools/configure.ac Tue Apr 24 17:12:22 2012 +0100 +++ b/tools/configure.ac Tue Apr 24 17:28:37 2012 +0100 @@ -45,6 +45,9 @@ AX_ARG_DEFAULT_ENABLE([pythontools], [Di AX_ARG_DEFAULT_ENABLE([ocamltools], [Disable Ocaml tools]) AX_ARG_DEFAULT_DISABLE([miniterm], [Enable miniterm]) AX_ARG_DEFAULT_DISABLE([lomount], [Enable lomount]) +AX_ARG_DEFAULT_DISABLE([ovmf], [Enable OVMF]) +AX_ARG_DEFAULT_ENABLE([rombios], [Disable ROM BIOS]) +AX_ARG_DEFAULT_ENABLE([seabios], [Disable SeaBIOS]) AX_ARG_DEFAULT_ENABLE([debug], [Disable debug build of tools]) AC_ARG_VAR([PREPEND_INCLUDES], _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |