[PATCH] utils: abi-compat: sort meson options

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Sep 24 19:40:32 CEST 2024


On Tue, Sep 24, 2024 at 06:34:33PM +0100, Kieran Bingham wrote:
> Sort the options passed to meson setup alphabetically when performing a
> slimline libcamera build.
> 
> Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
> This is based on top of https://patchwork.libcamera.org/patch/21347/
> 
> Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> ---
>  utils/abi-compat.sh | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/utils/abi-compat.sh b/utils/abi-compat.sh
> index a7b2481572bd..31f61e320404 100755
> --- a/utils/abi-compat.sh
> +++ b/utils/abi-compat.sh
> @@ -156,16 +156,16 @@ create_abi_dump() {
>  		# Generate a minimal libcamera build. "lib" and "prefix" are
>  		# defined explicitly to avoid system default ambiguities.
>  		meson setup "$build" "$worktree" \
> -			-Dlibdir=lib \
> -			-Dprefix=/usr/local/ \
> -			-Ddocumentation=disabled \
>  			-Dcam=disabled \
> -			-Dqcam=disabled \
> -			-Dpycamera=disabled \
> +			-Ddocumentation=disabled \
>  			-Dgstreamer=disabled \
>  			-Dlc-compliance=disabled \
> -			-Dtracing=disabled \
> -			-Dpipelines=
> +			-Dlibdir=lib \
> +			-Dpipelines= \
> +			-Dprefix=/usr/local/ \
> +			-Dpycamera=disabled \
> +			-Dqcam=disabled \
> +			-Dtracing=disabled
>  
>  		ninja -C "$build"
>  		DESTDIR="$install" ninja -C "$build" install

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list