[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] configure: add --without-default-features
From: |
Alex Bennée |
Subject: |
Re: [RFC PATCH] configure: add --without-default-features |
Date: |
Wed, 02 Dec 2020 19:09:27 +0000 |
User-agent: |
mu4e 1.5.7; emacs 28.0.50 |
Alex Bennée <alex.bennee@linaro.org> writes:
> By default QEMU enables a lot of features if it can probe and find the
> support libraries. It also enables a bunch of features by default.
> This patch adds the ability to build --without-default-features which
> can be paired with a --without-default-devices for a barely functional
> build.
>
> The main use case for this is testing our build assumptions and for
> minimising the amount of stuff you build if you just want to test a
> particular feature on your relatively slow emulated test system.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> configure | 161 ++++++++++++++++++++++++++++++------------------------
> 1 file changed, 89 insertions(+), 72 deletions(-)
>
> diff --git a/configure b/configure
> index 18c26e0389..23fa6f9421 100755
> --- a/configure
> +++ b/configure
<snip>
> -oss_lib=""
> +oss_lib="$default_feature"
<snip>
As oss_lib gets passed bare as the library to use this bit needs to be dropped.
--
Alex Bennée