diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-11 18:13:55 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-15 15:20:20 +0300 |
commit | 7c7a0151b0225391d7e2a60dce8606972614697c (patch) | |
tree | c09de2cdba4a186cab7ef6b415b934744c476f33 | |
parent | 509ec0cd71b286177bf5a650a160404de48f82aa (diff) |
tools/intel_reg: s/PKGDATADIR/IGT_DATADIR/
We use IGT_DATADIR to refer to $pkgdatadir elsewhere, so let's have
intel_reg follow suit.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
-rw-r--r-- | tools/Makefile.am | 2 | ||||
-rw-r--r-- | tools/intel_reg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 2c7b57997..35732c178 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -17,7 +17,7 @@ SUBDIRS = null_state_gen registers AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib AM_CFLAGS = $(DEBUG_CFLAGS) $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) \ - $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) -DPKGDATADIR=\"$(pkgdatadir)\" \ + $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) -DIGT_DATADIR=\"$(pkgdatadir)\" \ $(WERROR_CFLAGS) -D_GNU_SOURCE LDADD = $(top_builddir)/lib/libintel_tools.la AM_LDFLAGS = -Wl,--as-needed diff --git a/tools/intel_reg.c b/tools/intel_reg.c index b3823fd82..d6f818402 100644 --- a/tools/intel_reg.c +++ b/tools/intel_reg.c @@ -713,7 +713,7 @@ static int read_reg_spec(struct config *config) path = getenv("INTEL_REG_SPEC"); if (!path) - path = PKGDATADIR"/registers"; + path = IGT_DATADIR"/registers"; r = stat(path, &st); if (r) { |