[libcamera-devel,6/6] libcamera: raspberrypi: Add components to meson build

Message ID 20200504092829.10099-7-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • libcamera: Raspberry Pi camera support
Related show

Commit Message

Laurent Pinchart May 4, 2020, 9:28 a.m. UTC
From: Naushir Patuck <naush@raspberrypi.com>

Add the Raspberry Pi pipeline handler and IPA as targets in the
meson build system.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 meson_options.txt   | 2 +-
 src/ipa/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meson_options.txt b/meson_options.txt
index 6464df837cc3..2c7ab07bff91 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -14,7 +14,7 @@  option('gstreamer',
 
 option('pipelines',
         type : 'array',
-        choices : ['ipu3', 'rkisp1', 'uvcvideo', 'vimc'],
+        choices : ['ipu3', 'raspberrypi', 'rkisp1', 'uvcvideo', 'vimc'],
         description : 'Select which pipeline handlers to include')
 
 option('test',
diff --git a/src/ipa/meson.build b/src/ipa/meson.build
index 56e65eaa7426..e0f6e14afd3e 100644
--- a/src/ipa/meson.build
+++ b/src/ipa/meson.build
@@ -18,7 +18,7 @@  subdir('libipa')
 
 ipa_sign = find_program('ipa-sign.sh')
 
-ipas = ['rkisp1', 'vimc']
+ipas = ['raspberrypi', 'rkisp1', 'vimc']
 
 foreach pipeline : get_option('pipelines')
     if ipas.contains(pipeline)