From patchwork Mon Jun 9 11:04:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 4321431 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B79DD9F433 for ; Mon, 9 Jun 2014 11:04:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBED120259 for ; Mon, 9 Jun 2014 11:04:27 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 695F720225 for ; Mon, 9 Jun 2014 11:04:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 13CFB6E0CB; Mon, 9 Jun 2014 04:04:25 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Iy87EksUX1GI0FcFrBQaKPKt1UwPyToIs8dXhdslT44=; b=Oyiv4DNZTPkRZAIY/qSqz8BthdIxk3WBUnqtaGvBEkOZKMFIj64k6vgeJ1QdsyN6li rZwsiSidspL9vyWtxOaX2QXewvRGZyfwVG8SHWFbmGBvjDg7xyDnWMSpiYbZmsppDY1O i7Dy6+y5VoqR3zMoE9U26TkUveF0YbcHkjCsTN0raWurtBSlLKXTTwol+0I/Zi+M8ZlL Dkga4pFIfzIQrHLnqPCTZSU+wn/yvKZ+uAjbNnfSpOtkm0X/MtmjA1JFXLgkXgilKeDH DBhXTeI8SpkKEgyDVyzDu3wLQKTTZXToqkZQRB2VFHYOO8uwWBfYD3whrzcWH5tOdhci JbFw== X-Gm-Message-State: ALoCoQnH9krpErZNlzXFd8QUPyaCOGmuidjwWX8cusVePSCXjMcmWx9/pzeNwPUFOc9FQhIxcP8Q X-Received: by 10.194.238.65 with SMTP id vi1mr3812215wjc.84.1402311862589; Mon, 09 Jun 2014 04:04:22 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id f17sm24539855wjr.19.2014.06.09.04.04.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jun 2014 04:04:21 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Mon, 9 Jun 2014 12:04:20 +0100 Message-Id: <1402311860-14578-2-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1402311860-14578-1-git-send-email-thomas.wood@intel.com> References: <1402311860-14578-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [i-g-t 2/2] quick_dump: read the architecture files for items to add to EXTRA_DIST X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 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-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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