Android: amd/common: fix dependency on libmesa_nir
authorRob Herring <robh@kernel.org>
Wed, 3 May 2017 19:35:17 +0000 (14:35 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 11 May 2017 12:52:21 +0000 (13:52 +0100)
commit1ef913aacfaca03bd951f23c4a60d1fccd5c3b6c
tree0fabb652ba73665fa90330f09afdd7d7eaf4b87f
parent108250197996d76fbfe4ab437a696862d9a1971d
Android: amd/common: fix dependency on libmesa_nir

Building libmesa_amd_common fails with:

external/mesa/src/amd/common/ac_shader_info.c:23:10: fatal error: 'nir/nir.h' file not found
         ^

external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file not found
         ^

libmesa_amd_common now depends on libmesa_nir, so add it as a dependency
and export the necessary directories.

Fixes: 224cf29 "radv/ac: add initial pre-pass for shader info gathering"
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/amd/Android.common.mk
src/compiler/Android.nir.gen.mk