From: Thomas Wood Subject: [i-g-t 2/2] quick_dump: read the architecture files for items to add to EXTRA_DIST Date: Mon, 9 Jun 2014 12:04:20 +0100 Message-ID: <1402311860-14578-2-git-send-email-thomas.wood@intel.com> References: <1402311860-14578-1-git-send-email-thomas.wood@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by gabe.freedesktop.org (Postfix) with ESMTP id 50BAA6E0CB for ; Mon, 9 Jun 2014 04:04:23 -0700 (PDT) Received: by mail-wg0-f50.google.com with SMTP id x13so1697822wgg.9 for ; Mon, 09 Jun 2014 04:04:22 -0700 (PDT) In-Reply-To: <1402311860-14578-1-git-send-email-thomas.wood@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Each architecture file contains a list of the text files it requires, so use this to add to the list of files to distribute. Signed-off-by: Thomas Wood --- configure.ac | 6 ++++++ tools/quick_dump/Makefile.am | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index cb130a9..9c52188 100644 --- a/configure.ac +++ b/configure.ac @@ -203,6 +203,12 @@ fi AM_CONDITIONAL(BUILD_TESTS, [test "x$BUILD_TESTS" = xyes]) AC_DEFINE_UNQUOTED(TARGET_CPU_PLATFORM, ["$host_cpu"], [Target platform]) +files="broadwell cherryview haswell ivybridge sandybridge valleyview" +for file in $files; do + QUICK_DUMP_EXTRA_DIST+="$file `tr '\n' ' ' < tools/quick_dump/$file`" +done +AC_SUBST(QUICK_DUMP_EXTRA_DIST) + AC_CONFIG_FILES([ Makefile benchmarks/Makefile diff --git a/tools/quick_dump/Makefile.am b/tools/quick_dump/Makefile.am index a7b2a16..2d1685b 100644 --- a/tools/quick_dump/Makefile.am +++ b/tools/quick_dump/Makefile.am @@ -23,15 +23,8 @@ all-local: I915ChipsetPython.la $(LN_S) -f .libs/I915ChipsetPython.so _chipset.so CLEANFILES = chipset_wrap_python.c chipset.py _chipset.so -EXTRA_DIST = \ +EXTRA_DIST = $(QUICK_DUMP_EXTRA_DIST) \ base_display.txt base_interrupt.txt base_other.txt base_power.txt base_rings.txt \ - gen6_other.txt sandybridge \ - gen7_other.txt ivybridge \ - vlv_pipe_a.txt vlv_pipe_b.txt \ - vlv_display_base.txt vlv_dpio_phy.txt \ - vlv_dsi.txt vlv_flisdsi.txt \ - valleyview \ - gen8_interrupt.txt \ quick_dump.py \ reg_access.py \ chipset.i chipset.py -- 1.9.3