From patchwork Thu Jun 8 13:33:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 18720 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 C791CC3220 for ; Thu, 8 Jun 2023 13:33:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1ABF861E5B; Thu, 8 Jun 2023 15:33:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1686231223; bh=DJVpW1/Crio/KDNQtOKlKu+HQss9DvFQm6gJs95fHcA=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=yP+R88XYuF374z6y5GYyRvWL+9i3zcMhgdg2ZO6cpFl8p+kj4Vj+tXwt4+XyNwKKL RxjSPRF7QdctauZyJna57Q3rprKxhFmOIE+zrnVP47uzuRO7EEF1xZW5ASqskSbbSa KXu5pO3UgZnQidrpXXLG4NCe3VBezfu72fpkgN/Y220VkUy8RoTyabavaHbdWWzCWa ds2iTvjPo3oW3JoDRkOuu4g40L8n0ZhndYMTVhESeiqYNtECBGE2w2G28f6SeVjCuX wH64739igMCQxeEYrCzTFe0T0ZRxVvL+56aJy7MVzmNuO3NNv2kBTT0X+i/ald2QZA 4bmCe/Sxd7TgA== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6D0DE61E55 for ; Thu, 8 Jun 2023 15:33:41 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uurIR/iC"; dkim-atps=neutral Received: from localhost.localdomain (unknown [IPv6:2001:b07:5d2e:52c9:4a2a:e3ff:fe5e:2efb]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5A7951010; Thu, 8 Jun 2023 15:33:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1686231194; bh=DJVpW1/Crio/KDNQtOKlKu+HQss9DvFQm6gJs95fHcA=; h=From:To:Cc:Subject:Date:From; b=uurIR/iCoqpVfvbv6Lc95mUuTEAr/uCzrZuuMVYiek92d9qCfJB97XModFwuX8mtw TsJjy8AbGMRkNOB69s8RaquqdBcHiJ4GiRLCj222Th/bppajizgdDwnRwWMg6E9fbH kHnM7tBf0gIQEjybf7n5sMEtl2StT2Q7XNFkJCd0= To: libcamera-devel@lists.libcamera.org Date: Thu, 8 Jun 2023 15:33:25 +0200 Message-Id: <20230608133325.68591-1-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: meson: Allow PH to change libcamera_deps 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: Jacopo Mondi via libcamera-devel From: Jacopo Mondi Reply-To: Jacopo Mondi Cc: Jacopo Mondi Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Naushir Patuck Pipeline handlers can have custom dependencies. Allow each pipeline handler subdir to add them to libcamera_deps[]. Signed-off-by: Naushir Patuck Signed-off-by: Jacopo Mondi Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/libcamera/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.40.1 diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index d438504198fe..3cd424779395 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -58,6 +58,8 @@ includes = [ libcamera_includes, ] +libcamera_deps = [] + libatomic = cc.find_library('atomic', required : false) libthreads = dependency('threads') @@ -154,7 +156,7 @@ if ipa_sign_module libcamera_sources += ipa_pub_key_cpp endif -libcamera_deps = [ +libcamera_deps += [ libatomic, libcamera_base, libcamera_base_private,