From patchwork Sun Jun 30 23:38:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 1543 Return-Path: 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 0124960BC0 for ; Mon, 1 Jul 2019 01:38:43 +0200 (CEST) Received: from pendragon.bb.dnainternet.fi (dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8DD8B2F0 for ; Mon, 1 Jul 2019 01:38:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1561937922; bh=7+6nGXwxH/jnowHcoM6rpKbfJywr9N141Ol4FkU0CGs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cMmr9kWI3jy6EMNLkchpb7WXkaec4+rTRCNpOmOtTE1A0CTxzNFfN0OUagqi0mkFJ oqf3/tvvkPWbiBZ0HG5RG4w1+bBJRVz/hj8UdEhr6iNdHOFj0vt6GdNWZpQDxLrJVf mJD48q6/uYzo1Z7VNNweXJpY/9nieQyTNQIYzSwU= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 1 Jul 2019 02:38:04 +0300 Message-Id: <20190630233817.10130-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190630233817.10130-1-laurent.pinchart@ideasonboard.com> References: <20190630233817.10130-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 01/14] libcamera: Use 'files()' function to specify gen-header.sh X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2019 23:38:43 -0000 From: Kieran Bingham The files() function generates a variable with the location of the referenced files. This is shorter than joining the current_source_dir() of which use is somewhat frowned upon. Fixes: 90de3690c456 ("libcamera: Auto-generate libcamera.h") Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- include/libcamera/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build index 1b86fdc7fca4..15484724df01 100644 --- a/include/libcamera/meson.build +++ b/include/libcamera/meson.build @@ -14,7 +14,7 @@ libcamera_api = files([ 'timer.h', ]) -gen_header = join_paths(meson.current_source_dir(), 'gen-header.sh') +gen_header = files('gen-header.sh') libcamera_h = custom_target('gen-header', input : 'meson.build',