From patchwork Wed Sep 9 13:05:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 9552 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 88BB0BDB1D for ; Wed, 9 Sep 2020 13:06:07 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D9B2F60534; Wed, 9 Sep 2020 15:06:06 +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="gnZ1lj1P"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8E25D62B90 for ; Wed, 9 Sep 2020 15:06:04 +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 1A2C059E; Wed, 9 Sep 2020 15:06:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1599656764; bh=CnhCl67iaij7ShyBrCUOnlCkMrdTiTQVgagh6NPXhyE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gnZ1lj1PBo+0ipnq9Lmxq+gKNf5JCP/tVumk9YGg7dPbVyspbc2aYbMQdnR4GSAUK D+dQ/6Ii0RmjJwBtdl+rcrB0NhRvLhGUVJ63IYbbo3jb9Dcqw0OSZkfBCpmk2GIXuy 4Kxob0fK75adLOEWskoxbXJkxVQLEVev928h36D8= From: Kieran Bingham To: libcamera devel Date: Wed, 9 Sep 2020 14:05:57 +0100 Message-Id: <20200909130559.1122914-2-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200909130559.1122914-1-kieran.bingham@ideasonboard.com> References: <20200909130559.1122914-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/3] 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 1ea35e92ed67..510a6d3b44e6 100644 --- a/meson.build +++ b/meson.build @@ -100,9 +100,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.