From patchwork Tue Mar 2 14:18:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 11448 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id F0FD0BD808 for ; Tue, 2 Mar 2021 14:18:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CDE4C68A9C; Tue, 2 Mar 2021 15:18:23 +0100 (CET) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9586668A7E for ; Tue, 2 Mar 2021 15:18:21 +0100 (CET) Received: from uno.LocalDomain (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) (Authenticated sender: jacopo@jmondi.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id D614320000E; Tue, 2 Mar 2021 14:18:19 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Tue, 2 Mar 2021 15:18:34 +0100 Message-Id: <20210302141844.126634-2-jacopo@jmondi.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210302141844.126634-1-jacopo@jmondi.org> References: <20210302141844.126634-1-jacopo@jmondi.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 01/11] meson: options: Add option to select the Android platform X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Han-lin Chen , Daniel Hung-yu Wu Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The Android Camera3 HAL implementation requires platform specific extensions, such as the selection of the memory backend to use and additional constraints depending on the target device. Define a combo option to select which platform to target and define the currently existing implementation as 'generic'. Reviewed-by: Paul Elder Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- meson_options.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson_options.txt b/meson_options.txt index 53f2675e99e2..d840543b01f5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -5,6 +5,12 @@ option('android', value : 'disabled', description : 'Compile libcamera with Android Camera3 HAL interface') +option('android_platform', + type : 'combo', + choices : ['generic'], + value : 'generic', + description : 'Select the Android platform to compile for') + option('documentation', type : 'feature', description : 'Generate the project documentation')