From 663448101e80c738e486e41b4d40d38a8b436123 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Tue, 24 Apr 2012 17:28:37 +0100 Subject: 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 Acked-by: Ian Campbell Committed-by: Ian Jackson --- tools/configure | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index 86618f5dae..a7cb994bc2 100755 --- a/tools/configure +++ b/tools/configure @@ -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; -- cgit v1.2.3