From patchwork Wed May 18 13:13:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 15951 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 289A3C3256 for ; Wed, 18 May 2022 13:13:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5C4EF65663; Wed, 18 May 2022 15:13:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1652879630; bh=ZZ3IDxHSC+qdd3HzZK6lk4fjRtDB/Dtp8IClxoFVDOQ=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=NS2PPiSUeoQggmgth1rorET1Ta8e+GBGRk8Njmp9kgsvtReqJHjU5O5q+OxPSWO++ 7qprC3Ikbve4Cw8skXfaOoy2KS6dVNOvjVHfOPbsK8oPOG9+QFgPumUzZ1O4Asje5T 5c8EbF3ZzmgKsKcB0LjuzSHks2xSacb7pMEEG+coFPqZax/5qqyRa4IL5pdQEODgEv FXfMQUIfky4lNxQiIR3a81hYJFiWG6kDQcDs5yd98VA37A5ysyNqMQy4SmBlVHc0Q9 iMzbxxvc6MtI4vD+8tG3wvQGpphuK4c4BfaMmBe0V70v+Bw1JjxulNPCsVwMVCnyZI eFNDgyIQCuE7Q== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D5FD565656 for ; Wed, 18 May 2022 15:13:46 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="tQbOtn8r"; dkim-atps=neutral Received: from deskari.lan (91-156-85-209.elisa-laajakaista.fi [91.156.85.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4DBCF1027; Wed, 18 May 2022 15:13:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1652879626; bh=ZZ3IDxHSC+qdd3HzZK6lk4fjRtDB/Dtp8IClxoFVDOQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tQbOtn8rw+p0jSEeCEJGNDu8DVZBwonnG/c6vVV1yFPSGhZye2MCvN0F5/QsJyO/L kIhKGCptC0J5SoZAhVEoRjcQmWuNIeoyacFaoaN/7UUjCoTeGv/7tlKvMqTPN0DtY4 fm+I2kKSzrK6sAP9hrZK+pxb0Yi/7M/P35TDnITc= To: libcamera-devel@lists.libcamera.org, David Plowman , Kieran Bingham , Laurent Pinchart , Jacopo Mondi Date: Wed, 18 May 2022 16:13:12 +0300 Message-Id: <20220518131329.66994-2-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220518131329.66994-1-tomi.valkeinen@ideasonboard.com> References: <20220518131329.66994-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 01/18] py: meson: use files() for custom_target input files 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: , X-Patchwork-Original-From: Tomi Valkeinen via libcamera-devel From: Tomi Valkeinen Reply-To: Tomi Valkeinen Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Use files() for the input files for the custom_target(). I believe the current code works, but perhaps it is safer to use files() here. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/py/libcamera/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build index 2fc2eaec..cd20bb00 100644 --- a/src/py/libcamera/meson.build +++ b/src/py/libcamera/meson.build @@ -17,10 +17,10 @@ pycamera_sources = files([ 'pymain.cpp', ]) -gen_input_files = [ - meson.project_source_root() / 'src' / 'libcamera' / 'control_ids.yaml', +gen_input_files = files([ + '../../libcamera/control_ids.yaml', 'pyenums_generated.cpp.in', -] +]) gen_py_control_enums = files('gen-py-control-enums.py')