Android: fix missing generation of vtn_gather_types.c
authorRob Herring <robh@kernel.org>
Wed, 13 Dec 2017 21:06:08 +0000 (15:06 -0600)
committerRob Herring <robh@kernel.org>
Wed, 13 Dec 2017 22:20:15 +0000 (16:20 -0600)
Commit bb1e6ff161c9 ("spirv: Add a prepass to set types on vtn_values")
added generation of vtn_gather_types.c, but forgot to add it to the
Android build files.

Fixes: bb1e6ff161c9 ("spirv: Add a prepass to set types on vtn_values")
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Rob Herring <robh@kernel.org>
src/compiler/Android.nir.gen.mk

index e2187d081df8eb1a8f2efafbb7738711120aef48..aaa27128b41aeca05f16bb177ba9c7bcb2a5552c 100644 (file)
@@ -98,3 +98,8 @@ $(intermediates)/nir/nir_opt_algebraic.c: $(nir_opt_algebraic_deps)
 $(intermediates)/spirv/spirv_info.c: $(LOCAL_PATH)/spirv/spirv_info_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.json
        @mkdir -p $(dir $@)
        $(hide) $(MESA_PYTHON2) $^ $@ || ($(RM) $@; false)
+
+$(intermediates)/spirv/vtn_gather_types.c:: $(LOCAL_PATH)/spirv/vtn_gather_types_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.json
+       @mkdir -p $(dir $@)
+       $(hide) $(MESA_PYTHON2) $^ $@ || ($(RM) $@; false)
+