From patchwork Wed Sep 23 14:39:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 9747 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 E3AD1C3B5B for ; Wed, 23 Sep 2020 14:39:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D770A62FF1; Wed, 23 Sep 2020 16:39:55 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="PL+bVkxZ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2B1D862FD2 for ; Wed, 23 Sep 2020 16:39:54 +0200 (CEST) Received: from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8CD829CE; Wed, 23 Sep 2020 16:39:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1600871993; bh=qdURQ3/etuWnHOD/Wrc3H1jXqClO9iZzUAXr5L34HXw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PL+bVkxZxUXYQ4/TqrfH/rqGwxeu3NJQ8/zb74U5lkt+MaUwjcy7/4hb3iPtfWPwo lTbJMZroHsw4VfGat+MHyUGf8UVvYuVWWm+AN9kJSyoRautVvysa5x9QYzM82BXQex vkQwnIOBJZ78xKGhkomE/iC9v6sGnHRwcfWt6sV8= From: Kieran Bingham To: libcamera devel Date: Wed, 23 Sep 2020 15:39:46 +0100 Message-Id: <20200923143949.310439-2-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200923143949.310439-1-kieran.bingham@ideasonboard.com> References: <20200923143949.310439-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 1/4] meson: Process utils first 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" The utils directory can contain helpers and support tools which are used throughout other components of the build. Ensure that the utils subdir is parsed first allowing helpers to be defined there. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c58d458ca0ff..dd71390baba5 100644 --- a/meson.build +++ b/meson.build @@ -101,9 +101,11 @@ add_project_link_arguments(cpp_arguments, language : 'cpp') libcamera_includes = include_directories('include') +# Utilities are parsed first to provide support for other components. +subdir('utils') + subdir('include') subdir('src') -subdir('utils') # The documentation and test components are optional and can be disabled # through configuration values. They are enabled by default.