|
@@ -231,12 +231,10 @@ fi
|
|
|
|
|
|
# default parameters
|
|
# default parameters
|
|
cpu=""
|
|
cpu=""
|
|
-iasl="iasl"
|
|
|
|
interp_prefix="/usr/gnemul/qemu-%M"
|
|
interp_prefix="/usr/gnemul/qemu-%M"
|
|
static="no"
|
|
static="no"
|
|
cross_compile="no"
|
|
cross_compile="no"
|
|
cross_prefix=""
|
|
cross_prefix=""
|
|
-audio_drv_list="default"
|
|
|
|
block_drv_rw_whitelist=""
|
|
block_drv_rw_whitelist=""
|
|
block_drv_ro_whitelist=""
|
|
block_drv_ro_whitelist=""
|
|
host_cc="cc"
|
|
host_cc="cc"
|
|
@@ -312,7 +310,6 @@ linux_user=""
|
|
bsd_user=""
|
|
bsd_user=""
|
|
pkgversion=""
|
|
pkgversion=""
|
|
pie=""
|
|
pie=""
|
|
-trace_file="trace"
|
|
|
|
coroutine=""
|
|
coroutine=""
|
|
tls_priority="NORMAL"
|
|
tls_priority="NORMAL"
|
|
plugins="$default_feature"
|
|
plugins="$default_feature"
|
|
@@ -714,8 +711,6 @@ for opt do
|
|
;;
|
|
;;
|
|
--cxx=*)
|
|
--cxx=*)
|
|
;;
|
|
;;
|
|
- --iasl=*) iasl="$optarg"
|
|
|
|
- ;;
|
|
|
|
--objcc=*) objcc="$optarg"
|
|
--objcc=*) objcc="$optarg"
|
|
;;
|
|
;;
|
|
--make=*) make="$optarg"
|
|
--make=*) make="$optarg"
|
|
@@ -724,8 +719,6 @@ for opt do
|
|
;;
|
|
;;
|
|
--python=*) python="$optarg" ; explicit_python=yes
|
|
--python=*) python="$optarg" ; explicit_python=yes
|
|
;;
|
|
;;
|
|
- --sphinx-build=*) sphinx_build="$optarg"
|
|
|
|
- ;;
|
|
|
|
--skip-meson) skip_meson=yes
|
|
--skip-meson) skip_meson=yes
|
|
;;
|
|
;;
|
|
--meson=*) meson="$optarg"
|
|
--meson=*) meson="$optarg"
|
|
@@ -766,8 +759,6 @@ for opt do
|
|
error_exit "Can't mix --target-list-exclude with --target-list"
|
|
error_exit "Can't mix --target-list-exclude with --target-list"
|
|
fi
|
|
fi
|
|
;;
|
|
;;
|
|
- --with-trace-file=*) trace_file="$optarg"
|
|
|
|
- ;;
|
|
|
|
--with-default-devices) default_devices="true"
|
|
--with-default-devices) default_devices="true"
|
|
;;
|
|
;;
|
|
--without-default-devices) default_devices="false"
|
|
--without-default-devices) default_devices="false"
|
|
@@ -826,8 +817,6 @@ for opt do
|
|
# configure to be used by RPM and similar macros that set
|
|
# configure to be used by RPM and similar macros that set
|
|
# lots of directory switches by default.
|
|
# lots of directory switches by default.
|
|
;;
|
|
;;
|
|
- --audio-drv-list=*) audio_drv_list="$optarg"
|
|
|
|
- ;;
|
|
|
|
--block-drv-rw-whitelist=*|--block-drv-whitelist=*) block_drv_rw_whitelist=$(echo "$optarg" | sed -e 's/,/ /g')
|
|
--block-drv-rw-whitelist=*|--block-drv-whitelist=*) block_drv_rw_whitelist=$(echo "$optarg" | sed -e 's/,/ /g')
|
|
;;
|
|
;;
|
|
--block-drv-ro-whitelist=*) block_drv_ro_whitelist=$(echo "$optarg" | sed -e 's/,/ /g')
|
|
--block-drv-ro-whitelist=*) block_drv_ro_whitelist=$(echo "$optarg" | sed -e 's/,/ /g')
|
|
@@ -1001,12 +990,7 @@ for opt do
|
|
--enable-jemalloc) meson_option_parse --enable-malloc=jemalloc jemalloc
|
|
--enable-jemalloc) meson_option_parse --enable-malloc=jemalloc jemalloc
|
|
;;
|
|
;;
|
|
# everything else has the same name in configure and meson
|
|
# everything else has the same name in configure and meson
|
|
- --enable-* | --disable-*) meson_option_parse "$opt" "$optarg"
|
|
|
|
- ;;
|
|
|
|
- *)
|
|
|
|
- echo "ERROR: unknown option $opt"
|
|
|
|
- echo "Try '$0 --help' for more information"
|
|
|
|
- exit 1
|
|
|
|
|
|
+ --*) meson_option_parse "$opt" "$optarg"
|
|
;;
|
|
;;
|
|
esac
|
|
esac
|
|
done
|
|
done
|
|
@@ -1129,7 +1113,6 @@ $(echo Available targets: $default_target_list | \
|
|
Advanced options (experts only):
|
|
Advanced options (experts only):
|
|
--cross-prefix=PREFIX use PREFIX for compile tools, PREFIX can be blank [$cross_prefix]
|
|
--cross-prefix=PREFIX use PREFIX for compile tools, PREFIX can be blank [$cross_prefix]
|
|
--cc=CC use C compiler CC [$cc]
|
|
--cc=CC use C compiler CC [$cc]
|
|
- --iasl=IASL use ACPI compiler IASL [$iasl]
|
|
|
|
--host-cc=CC use C compiler CC [$host_cc] for code run at
|
|
--host-cc=CC use C compiler CC [$host_cc] for code run at
|
|
build time
|
|
build time
|
|
--cxx=CXX use C++ compiler CXX [$cxx]
|
|
--cxx=CXX use C++ compiler CXX [$cxx]
|
|
@@ -1142,7 +1125,6 @@ Advanced options (experts only):
|
|
--cross-cc-cflags-ARCH= use compiler flags when building ARCH guest tests
|
|
--cross-cc-cflags-ARCH= use compiler flags when building ARCH guest tests
|
|
--make=MAKE use specified make [$make]
|
|
--make=MAKE use specified make [$make]
|
|
--python=PYTHON use specified python [$python]
|
|
--python=PYTHON use specified python [$python]
|
|
- --sphinx-build=SPHINX use specified sphinx-build [$sphinx_build]
|
|
|
|
--meson=MESON use specified meson [$meson]
|
|
--meson=MESON use specified meson [$meson]
|
|
--ninja=NINJA use specified ninja [$ninja]
|
|
--ninja=NINJA use specified ninja [$ninja]
|
|
--smbd=SMBD use specified smbd [$smbd]
|
|
--smbd=SMBD use specified smbd [$smbd]
|
|
@@ -2485,15 +2467,11 @@ if test "$skip_meson" = no; then
|
|
--sysconfdir "$sysconfdir" \
|
|
--sysconfdir "$sysconfdir" \
|
|
--localedir "$localedir" \
|
|
--localedir "$localedir" \
|
|
--localstatedir "$local_statedir" \
|
|
--localstatedir "$local_statedir" \
|
|
- -Daudio_drv_list=$audio_drv_list \
|
|
|
|
-Ddefault_devices=$default_devices \
|
|
-Ddefault_devices=$default_devices \
|
|
-Ddocdir="$docdir" \
|
|
-Ddocdir="$docdir" \
|
|
- -Diasl="$iasl" \
|
|
|
|
-Dqemu_firmwarepath="$firmwarepath" \
|
|
-Dqemu_firmwarepath="$firmwarepath" \
|
|
-Dqemu_suffix="$qemu_suffix" \
|
|
-Dqemu_suffix="$qemu_suffix" \
|
|
-Dsmbd="$smbd" \
|
|
-Dsmbd="$smbd" \
|
|
- -Dsphinx_build="$sphinx_build" \
|
|
|
|
- -Dtrace_file="$trace_file" \
|
|
|
|
-Doptimization=$(if test "$debug" = yes; then echo 0; else echo 2; fi) \
|
|
-Doptimization=$(if test "$debug" = yes; then echo 0; else echo 2; fi) \
|
|
-Ddebug=$(if test "$debug_info" = yes; then echo true; else echo false; fi) \
|
|
-Ddebug=$(if test "$debug_info" = yes; then echo true; else echo false; fi) \
|
|
-Dwerror=$(if test "$werror" = yes; then echo true; else echo false; fi) \
|
|
-Dwerror=$(if test "$werror" = yes; then echo true; else echo false; fi) \
|