mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/configure: fix --with-system-{ovmf/seabios}
Currently configure code doesn't define {SEABIOS/OVMF}_PATH when
--with-system-{ovmf/seabios} is used. Fix this by making sure those
defines are always set if the internal {ovmf/seabios}_path variables are
also set.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Suggested-by: Wei Liu <wei.liu2@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
[ wei: run autogen.sh ]
Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
6a304607b9
commit
ecee7bfc18
2 files changed
+4
-4
No files matched your search
Vendored
+2
-2
@@ -4449,7 +4449,7 @@ if test "${with_system_seabios+set}" = set; then :
|
||||
|
||||
fi
|
||||
|
||||
if test "x$seabios" = "xy"; then :
|
||||
if test "x$seabios" = "xy" -o -n "$seabios_path" ; then :
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
@@ -4472,7 +4472,7 @@ if test "${with_system_ovmf+set}" = set; then :
|
||||
|
||||
fi
|
||||
|
||||
if test "x$ovmf" = "xy"; then :
|
||||
if test "x$ovmf" = "xy" -o -n "$ovmf_path" ; then :
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
||||
+2
-2
@@ -222,7 +222,7 @@ AC_ARG_WITH([system-seabios],
|
||||
*) seabios_path=$withval ;;
|
||||
esac
|
||||
],[])
|
||||
AS_IF([test "x$seabios" = "xy"], [
|
||||
AS_IF([test "x$seabios" = "xy" -o -n "$seabios_path" ], [
|
||||
AC_DEFINE_UNQUOTED([SEABIOS_PATH],
|
||||
["${seabios_path:-$XENFIRMWAREDIR/seabios.bin}"],
|
||||
[SeaBIOS path])
|
||||
@@ -239,7 +239,7 @@ AC_ARG_WITH([system-ovmf],
|
||||
*) ovmf_path=$withval ;;
|
||||
esac
|
||||
],[])
|
||||
AS_IF([test "x$ovmf" = "xy"], [
|
||||
AS_IF([test "x$ovmf" = "xy" -o -n "$ovmf_path" ], [
|
||||
AC_DEFINE_UNQUOTED([OVMF_PATH],
|
||||
["${ovmf_path:-$XENFIRMWAREDIR/ovmf.bin}"],
|
||||
[OVMF path])
|
||||
|
||||