[libcamera-devel,10/12] meson: options: Introduce 'cros_cbm' memory backend
diff mbox series

Message ID 20210226132932.165484-11-jacopo@jmondi.org
State Superseded
Headers show
Series
  • android: Support memory backends
Related show

Commit Message

Jacopo Mondi Feb. 26, 2021, 1:29 p.m. UTC
Add to the list of supported memory backends the 'cros_cbm' option.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
---
 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart Feb. 28, 2021, 6:50 p.m. UTC | #1
Hi Jacopo,

Thank you for the patch.

On Fri, Feb 26, 2021 at 02:29:30PM +0100, Jacopo Mondi wrote:
> Add to the list of supported memory backends the 'cros_cbm' option.
> 
> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>

You can squash this with 11/12, or we'll have a bisection point where
cros_cbm could be selected and compilation would fail.

> ---
>  meson_options.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson_options.txt b/meson_options.txt
> index 34063172f4ba..c43def09fe80 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -12,7 +12,7 @@ option('cros',
>  
>  option('android_memory_backend',
>          type : 'combo',
> -        choices : ['android_generic'],
> +        choices : ['android_generic', 'cros_cbm'],
>          value : 'android_generic',
>          description : 'Select the memory backend in use for the Android Camera3 HAL')
>

Patch
diff mbox series

diff --git a/meson_options.txt b/meson_options.txt
index 34063172f4ba..c43def09fe80 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -12,7 +12,7 @@  option('cros',
 
 option('android_memory_backend',
         type : 'combo',
-        choices : ['android_generic'],
+        choices : ['android_generic', 'cros_cbm'],
         value : 'android_generic',
         description : 'Select the memory backend in use for the Android Camera3 HAL')