android: radeonsi: fix build error due to wrong u_format.csv file path
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 15 Nov 2019 22:13:49 +0000 (23:13 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 15 Nov 2019 22:20:03 +0000 (23:20 +0100)
GEN10_FORMAT_TABLE_INPUTS requires correction of u_format.csv file path
in order to avoid following build error:

ninja: error: 'external/mesa/util/format/u_format.csv',
needed by 'out/target/product/x86_64/gen/STATIC_LIBRARIES/libmesa_pipe_radeonsi_intermediates/radeonsi/gfx10_format_table.h',
missing and no known rule to make it

Fixes: 882ca6d ("util: Move gallium's PIPE_FORMAT utils to /util/format/")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
src/gallium/drivers/radeonsi/Android.mk

index f08e759a35cfaf5c5b3f829e7eb62cd5d015e0a8..6f81f3f5346b16c251231e0b4e34c2225bccb920 100644 (file)
@@ -63,7 +63,7 @@ $(intermediates)/radeonsi/si_driinfo.h: $(MERGE_DRIINFO) $(GEN_DRIINFO_INPUTS)
        $(hide) $(MESA_PYTHON2) $(MERGE_DRIINFO) $(GEN_DRIINFO_INPUTS) > $@ || ($(RM) $@; false)
 
 GEN10_FORMAT_TABLE_INPUTS := \
        $(hide) $(MESA_PYTHON2) $(MERGE_DRIINFO) $(GEN_DRIINFO_INPUTS) > $@ || ($(RM) $@; false)
 
 GEN10_FORMAT_TABLE_INPUTS := \
-       $(MESA_TOP)/util/format/u_format.csv \
+       $(MESA_TOP)/src/util/format/u_format.csv \
        $(MESA_TOP)/src/amd/registers/gfx10-rsrc.json
 
 GEN10_FORMAT_TABLE_DEP := \
        $(MESA_TOP)/src/amd/registers/gfx10-rsrc.json
 
 GEN10_FORMAT_TABLE_DEP := \