Android: add libmesa_nir dependency to libmesa_dricore

Submitted by Rob Herring on Oct. 16, 2017, 2:16 p.m.

Details

Message ID 20171016141635.16281-1-robh@kernel.org
State New
Headers show
Series "Android: add libmesa_nir dependency to libmesa_dricore" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Rob Herring Oct. 16, 2017, 2:16 p.m.
Commit 32fcced7b479 ("meta: Unset the textures_used_by_txf bitfield.")
added a dependency in libmesa_dricore to NIR headers, but failed to add
libmesa_nir as a dependency resulting in a build error:

In file included from external/mesa3d/src/mesa/drivers/common/meta.c:90:
external/mesa3d/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file not found

Add libmesa_nir as a static library dependency to libmesa_dricore.

Fixes: 32fcced7b479 ("meta: Unset the textures_used_by_txf bitfield.")
Cc: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Rob Herring <robh@kernel.org>
---
 src/mesa/Android.libmesa_dricore.mk | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/src/mesa/Android.libmesa_dricore.mk b/src/mesa/Android.libmesa_dricore.mk
index c7715a50c90e..6d9bf83dc735 100644
--- a/src/mesa/Android.libmesa_dricore.mk
+++ b/src/mesa/Android.libmesa_dricore.mk
@@ -65,6 +65,7 @@  LOCAL_GENERATED_SOURCES += \
 	$(MESA_GEN_GLSL_H)
 
 LOCAL_WHOLE_STATIC_LIBRARIES += \
+	libmesa_nir \
 	libmesa_program \
 	libmesa_git_sha1