Android: add libmesa_nir dependency to libmesa_dricore
authorRob Herring <robh@kernel.org>
Mon, 16 Oct 2017 12:43:36 +0000 (07:43 -0500)
committerRob Herring <robh@kernel.org>
Mon, 16 Oct 2017 19:49:37 +0000 (14:49 -0500)
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.")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Rob Herring <robh@kernel.org>
src/mesa/Android.libmesa_dricore.mk

index c7715a50c90ed9c8a8c0926ce88419c5d6c0758f..34fd8581c2df19b00caaa9e2312971a37473608e 100644 (file)
@@ -64,6 +64,9 @@ LOCAL_C_INCLUDES := \
 LOCAL_GENERATED_SOURCES += \
        $(MESA_GEN_GLSL_H)
 
+LOCAL_STATIC_LIBRARIES += \
+       libmesa_nir
+
 LOCAL_WHOLE_STATIC_LIBRARIES += \
        libmesa_program \
        libmesa_git_sha1