anv: Prefer in-tree headers to out-of-tree headers
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Nov 2016 16:44:28 +0000 (18:44 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 30 Nov 2016 18:01:00 +0000 (20:01 +0200)
commit676c0cf2873334845a94c05352748bdaf5df77a7
tree1f5a8432345096145cfd9b60659a6e21e9efd92d
parent946cf4eb6846767306a221eec7d0f82d20dfb6b5
anv: Prefer in-tree headers to out-of-tree headers

Set the include paths to consider in-tree headers before out-of-tree
headers.

Avoids the build failing due to stale headers being present in
$prefix. Previosuly 'make -ki install' or something similar was required
to update the out-of-tree headers to allow the build to succeed.

Also avoids having to rebuild the entire thing after every 'make
install'.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/vulkan/Makefile.am