aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTomasz Figa <[email protected]>2014-09-27 16:20:00 +0200
committerEmil Velikov <[email protected]>2014-10-03 01:25:32 +0100
commit98445fd25e4f0bd7dc4d7a2a843b7fbe76c9756d (patch)
treea1eed00076c90c2edf70ef9dc3035a0d1324a0e1 /src/mesa
parentd703abf735bc2fe27af893d07e44598b8601b172 (diff)
st/mesa: Generate format_info.c in Android builds
Current Android makefiles lack generation of format_info.c, which is a dependency of main/format.c. This patch adds necessary code to Android.gen.mk. Signed-off-by: Tomasz Figa <[email protected]> CC: <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/Android.gen.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/Android.gen.mk b/src/mesa/Android.gen.mk
index c6280f5cbd4..c7b7f7edf30 100644
--- a/src/mesa/Android.gen.mk
+++ b/src/mesa/Android.gen.mk
@@ -115,3 +115,12 @@ GET_HASH_GEN := $(LOCAL_PATH)/main/get_hash_generator.py
$(intermediates)/main/get_hash.h: $(glapi)/gl_and_es_API.xml \
$(LOCAL_PATH)/main/get_hash_params.py $(GET_HASH_GEN)
@$(MESA_PYTHON2) $(GET_HASH_GEN) -f $< > $@
+
+FORMAT_INFO := $(LOCAL_PATH)/main/format_info.py
+format_info_deps := \
+ $(LOCAL_PATH)/main/formats.csv \
+ $(LOCAL_PATH)/main/format_parser.py \
+ $(FORMAT_INFO)
+
+$(intermediates)/main/format_info.c: $(format_info_deps)
+ @$(MESA_PYTHON2) $(FORMAT_INFO) $< > $@