From patchwork Wed Sep 9 13:05:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 9551 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 BDBCBBDB1D for ; Wed, 9 Sep 2020 13:06:06 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2751162D27; 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="O4+FHBBl"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 564F860534 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 BA6EE39; Wed, 9 Sep 2020 15:06:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1599656763; bh=dmNGUhruhMVKZpM+/pn1lwxmUpp/1VOqHubOgXSWJZk=; h=From:To:Cc:Subject:Date:From; b=O4+FHBBlDMjdN9KPV2Pd9mEyvYvHVsU4i+U4XWolfG8BmzgqN/6BJJMevz/4F3hfl n/HUJioHcVUfWB7L4clYiahhcj+puXf2Wn9y/yV2dYqF3/2M8Kwir0eEeJcRMkqvzG hEJhu80lVhhuJjjc1FaSd48QpyxY4PUAKbqDB7TE= From: Kieran Bingham To: libcamera devel Date: Wed, 9 Sep 2020 14:05:56 +0100 Message-Id: <20200909130559.1122914-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] Unify utils locations 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" Various utilities are scattered across the source trees, and are declared as GPLv2. Update the meson build to process the utils subdirectory first, giving us a location where we can define our utilities in a common location. Then move key generator scripts to the utils directory. The scripts which handle module signing upon installation are not handled in this series, as they currently expect to be run from their current location, and external build systems may be currently referencing from their current location too. If this series is deemed useful/worthwhile we can tackle the module-signing scripts. also of interest is the definition of the gen-version command used by the vcs_tag ... but the vcs tag function does not accept a 'files()' list as it's command parameter, so it's not (yet) suitable to move that variable declaration to utils/meson.build which had aimed to do. Kieran Bingham (3): meson: Process utils first libcamera: Move Header generation utilities to utils libcamera: ipa: Move key generation to utils include/libcamera/meson.build | 6 ------ meson.build | 4 +++- src/libcamera/meson.build | 3 --- src/meson.build | 1 - {src/libcamera => utils}/gen-controls.py | 0 {include/libcamera => utils}/gen-formats.py | 0 {include/libcamera => utils}/gen-header.sh | 0 {src/ipa => utils}/gen-ipa-priv-key.sh | 0 {src/libcamera => utils}/gen-ipa-pub-key.py | 0 utils/meson.build | 15 +++++++++++++++ 10 files changed, 18 insertions(+), 11 deletions(-) rename {src/libcamera => utils}/gen-controls.py (100%) rename {include/libcamera => utils}/gen-formats.py (100%) rename {include/libcamera => utils}/gen-header.sh (100%) rename {src/ipa => utils}/gen-ipa-priv-key.sh (100%) rename {src/libcamera => utils}/gen-ipa-pub-key.py (100%)