summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorJohn Stultz <[email protected]>2019-07-03 22:37:45 +0000
committerJohn Stultz <[email protected]>2019-08-07 02:18:19 +0000
commit96baf052b2001bb9adf8d7eced411cd124060384 (patch)
treed0e985b6bc118d0805e834047a743a887c241014 /src/gallium/drivers/freedreno
parent16edd56fccad7ba0e1b938a60f0f5e927a104585 (diff)
mesa: Add ir3/ir3_nir_imul.c generation to Android.mk
With current master we're seeing build failures with AOSP: error: undefined symbol: ir3_nir_lower_imul This is due to the ir3_nir_imul.c file not being generated in the Android.mk files. This patch simply adds it to the Android build, after which thigns build and book ok on db410c. Cc: Rob Clark <[email protected]> Cc: Emil Velikov <[email protected]> Cc: Amit Pundir <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: Alistair Strachan <[email protected]> Cc: Greg Hartman <[email protected]> Cc: Tapani Pälli <[email protected]> Reviewed-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/Android.gen.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/Android.gen.mk b/src/gallium/drivers/freedreno/Android.gen.mk
index d29ba159d5c..21ee52b7e33 100644
--- a/src/gallium/drivers/freedreno/Android.gen.mk
+++ b/src/gallium/drivers/freedreno/Android.gen.mk
@@ -28,11 +28,19 @@ ir3_nir_trig_deps := \
$(MESA_TOP)/src/freedreno/ir3/ir3_nir_trig.py \
$(MESA_TOP)/src/compiler/nir/nir_algebraic.py
+ir3_nir_imul_deps := \
+ $(MESA_TOP)/src/freedreno/ir3/ir3_nir_imul.py \
+ $(MESA_TOP)/src/compiler/nir/nir_algebraic.py
+
intermediates := $(call local-generated-sources-dir)
$(intermediates)/ir3/ir3_nir_trig.c: $(ir3_nir_trig_deps)
@mkdir -p $(dir $@)
$(hide) $(MESA_PYTHON2) $< -p $(MESA_TOP)/src/compiler/nir > $@
+$(intermediates)/ir3/ir3_nir_imul.c: $(ir3_nir_imul_deps)
+ @mkdir -p $(dir $@)
+ $(hide) $(MESA_PYTHON2) $< -p $(MESA_TOP)/src/compiler/nir > $@
+
LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, \
$(ir3_GENERATED_FILES))