quick_dump: read the architecture files for items to add to EXTRA_DIST

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 <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood 2014-06-06 15:28:50 +01:00
parent e10c9a730d
commit c54ee9819a
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -23,12 +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_display_base.txt vlv_dpio_phy.txt valleyview \
gen8_interrupt.txt \
quick_dump.py \
reg_access.py \
chipset.i chipset.py