summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-05-06 23:10:35 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-05-07 15:04:23 +0100
commit1bb318b32db003a377da14715c7b80675a712b6b (patch)
treefa75347c1f49068786cf19afa26c278e5f99d5e3 /tools
parent8bde13ad8c4a5652b5ff67782ecbf2dde21faebf (diff)
lib: create new dependency for aubdump
While trying to capture an aubdump on a libva demo, I run into a crash in intel_batchbuffer.c. Turn out every driver has it's own intel_batchbuffer.c with similar symbols and because aubdump pulls in libigt, things go wrong. One could argue that there is something wrong with intel-vaapi-driver's build but I also think aubdump should embed as little as possible. This change creates a very small library that embeds just the needed bits of igt for aubdump. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build
index bd2d313d..789219d0 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -113,7 +113,7 @@ install_subdir('registers', install_dir : datadir,
])
shared_library('intel_aubdump', 'aubdump.c',
- dependencies : [ igt_deps, dlsym ],
+ dependencies : [ lib_igt_chipset, dlsym ],
name_prefix : '',
install : true)