Alex Bennée <alex.ben...@linaro.org> writes:

> This avoids the unfortunate effect of always builds the pc-bios blobs
> for targets the user isn't interested in.
>
> Suggested-by: Paolo Bonzini <pbonz...@redhat.com>
> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
> ---
>  configure | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/configure b/configure
> index 45ee6f4eb3..246651f25d 100755
> --- a/configure
> +++ b/configure
> @@ -1866,6 +1866,11 @@ probe_target_compiler() {
>    container_cross_ranlib=
>    container_cross_strip=
>  
> +  case " $target_list " in
> +    " $1 ") ;;
> +    *) return 1 ;;
> +  esac
> +

this of course prevents building of roms by actually disabling all
target compilers...

>    target_arch=${1%%-*}
>    case $target_arch in
>      aarch64) container_hosts="x86_64 aarch64" ;;


-- 
Alex Bennée

Reply via email to