diff mbox

[i-g-t] configure.ac: Install and distribute kabylake registers

Message ID 1506523123-16360-1-git-send-email-petri.latvala@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Petri Latvala Sept. 27, 2017, 2:38 p.m. UTC
tools/registers/kabylake was not included in the REGISTER_FILES list,
so didn't get included in tarballs or installed.

Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---

Some files still remain that are not tarballed or installed:

Should these be included in all platform files?

base_interrupt.txt
base_other.txt
base_power.txt
base_rings.txt

Should this one be in valleyview?

vlv_power.txt



configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index c78f5194..aebd9eee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,9 +392,9 @@  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 skylake"
+files="broadwell cherryview haswell ivybridge sandybridge valleyview skylake kabylake"
 for file in $files; do
-	REGISTER_FILES="$REGISTER_FILES $file `cat $srcdir/tools/registers/$file`"
+	REGISTER_FILES="$REGISTER_FILES $file `cat $srcdir/tools/registers/$file | grep -v '^#'`"
 done
 REGISTER_FILES=`echo $REGISTER_FILES | tr ' ' '\n' | sort -u | tr '\n' ' '`
 AC_SUBST(REGISTER_FILES)