From 900bf50c39089ef9841eccd729527319eaf49888 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Thu, 11 Jun 2020 21:47:12 +0200 Subject: [PATCH] android: nvir/gv100: update sources in Makefile.sources Fixes the following building errors: FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so ... ld.lld: error: undefined symbol: nv50_ir::getTargetGV100(unsigned int) ... ld.lld: error: undefined symbol: nv50_ir::getTargetGV100(unsigned int) clang-9: error: linker command failed with exit code 1 (use -v to see invocation) Fixes: 78103abe ("nvir/gv100: initial support") Signed-off-by: Mauro Rossi Reviewed-by: Karol Herbst --- src/gallium/drivers/nouveau/Makefile.sources | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/nouveau/Makefile.sources b/src/gallium/drivers/nouveau/Makefile.sources index 9de8168fbd9..ff25f3963a6 100644 --- a/src/gallium/drivers/nouveau/Makefile.sources +++ b/src/gallium/drivers/nouveau/Makefile.sources @@ -140,13 +140,19 @@ NV50_CODEGEN_SOURCES := \ NVC0_CODEGEN_SOURCES := \ codegen/nv50_ir_emit_gk110.cpp \ codegen/nv50_ir_emit_gm107.cpp \ + codegen/nv50_ir_emit_gv100.cpp \ + codegen/nv50_ir_emit_gv100.h \ codegen/nv50_ir_emit_nvc0.cpp \ codegen/nv50_ir_lowering_gm107.cpp \ codegen/nv50_ir_lowering_gm107.h \ + codegen/nv50_ir_lowering_gv100.cpp \ + codegen/nv50_ir_lowering_gv100.h \ codegen/nv50_ir_lowering_nvc0.cpp \ codegen/nv50_ir_lowering_nvc0.h \ codegen/nv50_ir_target_gm107.cpp \ codegen/nv50_ir_target_gm107.h \ + codegen/nv50_ir_target_gv100.cpp \ + codegen/nv50_ir_target_gv100.h \ codegen/nv50_ir_target_nvc0.cpp \ codegen/nv50_ir_target_nvc0.h -- 2.30.2