summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2017-08-03 02:55:46 +0200
committerEmil Velikov <[email protected]>2017-08-04 14:58:50 +0100
commitf99a733e3892750402db7b3e9dfb306d3bbff851 (patch)
tree32600c2517fbdd7de4576b66298aa39737f9216c /src/gallium
parentb4f639d02ae5fb54ab7f449c86c8bb602517455c (diff)
android: radeonsi: add nir include paths
Android build changes to avoid the following building error: target C: libmesa_pipe_radeonsi <= external/mesa/src/gallium/drivers/radeonsi/si_pipe.c ... In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.c:38: external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file not found ^ 1 error generated. Fixes: da62a31c5b "radeonsi: add nir include paths" Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/Android.mk b/src/gallium/drivers/radeonsi/Android.mk
index 4a5df5b01d8..65661a5ea7a 100644
--- a/src/gallium/drivers/radeonsi/Android.mk
+++ b/src/gallium/drivers/radeonsi/Android.mk
@@ -36,7 +36,8 @@ LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_C_INCLUDES := \
$(MESA_TOP)/src/amd/common \
- $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_amd_common,,)/common
+ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_amd_common,,)/common \
+ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir
LOCAL_STATIC_LIBRARIES := libmesa_amd_common