From patchwork Thu Sep 14 01:10:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jordan Justen X-Patchwork-Id: 9952309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 37AD8602C9 for ; Thu, 14 Sep 2017 01:11:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 298F22625B for ; Thu, 14 Sep 2017 01:11:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E0FF289FB; Thu, 14 Sep 2017 01:11:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B41FC26D05 for ; Thu, 14 Sep 2017 01:11:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BB7806E91A; Thu, 14 Sep 2017 01:11:29 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 41AC16E90B for ; Thu, 14 Sep 2017 01:11:28 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP; 13 Sep 2017 18:11:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.42,390,1500966000"; d="scan'208"; a="1194865436" Received: from cwbutler-mobl.amr.corp.intel.com (HELO jljusten-skl.amr.corp.intel.com) ([10.254.13.190]) by fmsmga001.fm.intel.com with ESMTP; 13 Sep 2017 18:11:27 -0700 From: Jordan Justen To: Intel GFX discussion Date: Wed, 13 Sep 2017 18:10:59 -0700 Message-Id: <20170914011100.7743-5-jordan.l.justen@intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170914011100.7743-1-jordan.l.justen@intel.com> References: <20170914011100.7743-1-jordan.l.justen@intel.com> Subject: [Intel-gfx] [PATCH 5/6] meson: Process intel_aubdump.in into intel_aubdump X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jordan Justen Reviewed-by: Ville Syrjälä --- tools/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/meson.build b/tools/meson.build index 91c58760..20b63cce 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -57,4 +57,11 @@ endforeach shared_library('intel_aubdump', 'aubdump.c', dependencies : [ igt_deps, dlsym ], install : true) +conf_data = configuration_data() +conf_data.set('prefix', get_option('prefix')) +conf_data.set('exec_prefix', '${prefix}') +conf_data.set('libdir', join_paths('${prefix}', get_option('libdir'))) +configure_file(input : 'intel_aubdump.in', output : 'intel_aubdump', + configuration : conf_data, install_dir : get_option('bindir')) + subdir('null_state_gen')