summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/Android.mk
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2017-06-04 19:11:48 +0200
committerEmil Velikov <[email protected]>2017-06-15 15:46:44 +0100
commitd5a9608076504c1279506d014313cbc2cffa0415 (patch)
tree1761dbcddb4a150637d467cf5f538f0c4698f561 /src/gallium/drivers/r600/Android.mk
parentd5523d912cbeb325c587453c790315696bfb0c7e (diff)
android: r600/eg: add support for tracing IBs after a hang.
The rules to generate egd_tables.h are added in Android makefile Fixes: f42fb00 "r600/eg: add support for tracing IBs after a hang." Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/Android.mk')
-rw-r--r--src/gallium/drivers/r600/Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/Android.mk b/src/gallium/drivers/r600/Android.mk
index 87f433dbaeb..fa62613d1de 100644
--- a/src/gallium/drivers/r600/Android.mk
+++ b/src/gallium/drivers/r600/Android.mk
@@ -39,6 +39,16 @@ endif
LOCAL_SHARED_LIBRARIES := libdrm_radeon
LOCAL_MODULE := libmesa_pipe_r600
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
+intermediates := $(call local-generated-sources-dir)
+
+LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, $(R600_GENERATED_FILES))
+
+$(intermediates)/egd_tables.h: $(MESA_TOP)/src/gallium/drivers/r600/egd_tables.py $(MESA_TOP)/src/gallium/drivers/r600/evergreend.h
+ @mkdir -p $(dir $@)
+ @echo "Gen Header: $(PRIVATE_MODULE) <= $(notdir $(@))"
+ $(hide) $(MESA_PYTHON2) $(MESA_TOP)/src/gallium/drivers/r600/egd_tables.py $(MESA_TOP)/src/gallium/drivers/r600/evergreend.h > $@
+
include $(GALLIUM_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)