From patchwork Sat May 10 09:07:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 23351 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 1AEE3C3200 for ; Sat, 10 May 2025 09:07:21 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0269268B50; Sat, 10 May 2025 11:07:19 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="R1rrlSA+"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CF44D68B40 for ; Sat, 10 May 2025 11:07:17 +0200 (CEST) Received: from charm.hippo-penny.ts.net (unknown [IPv6:2001:861:3a80:3300:485e:25b2:e7f9:296e]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EB553965; Sat, 10 May 2025 11:07:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1746868024; bh=mcvagRFrm0Pbb7zJtqopZX1cdghhXqu7Ku/JD+NZEI8=; h=From:To:Cc:Subject:Date:From; b=R1rrlSA+lu9qxVnv99qv+fNSJurBNdtCJAtKkeVQdvVWn7cO10yfOqe70y82Cq0Gj E0pAlijKoX2ir00aTqJwTRZPu/73nByEFqWFCC1iEuFSK8pV2eCjrLtr1YEOpJfmrj iI17Qta8DEImRly/0Gtfmo1Ld+kQFuMca7HoPCOE= From: Kieran Bingham To: libcamera devel Cc: Christian Rauch , Kieran Bingham Subject: [PATCH] ipa: Move IPA installations to a subdir Date: Sat, 10 May 2025 11:07:13 +0200 Message-ID: <20250510090713.7114-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" IPAs are expected to live within a directory that is searched by the IPAManager. If other non-IPA so files are installed in the same location, then the user may be presented with an error message reporting that the module could not be parsed. Move IPA modules to an ipa specific subdirectory to ensure we only parse .so files that are expected to be IPA modules at load time. Bug: https://bugs.libcamera.org/show_bug.cgi?id=268 Signed-off-by: Kieran Bingham --- src/ipa/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/meson.build b/src/ipa/meson.build index 0ad4631def27..68f64b9a6fa3 100644 --- a/src/ipa/meson.build +++ b/src/ipa/meson.build @@ -4,7 +4,7 @@ ipa_includes = [ libcamera_includes, ] -ipa_install_dir = libcamera_libdir +ipa_install_dir = libcamera_libdir / 'ipa' ipa_data_dir = libcamera_datadir / 'ipa' ipa_sysconf_dir = libcamera_sysconfdir / 'ipa'