summaryrefslogtreecommitdiffstats
path: root/src/amd/Makefile.sources
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2016-11-05 00:00:29 +0100
committerMarek Olšák <[email protected]>2016-11-05 18:42:29 +0100
commit0148313ea36385edcd869a899b8aa5b82d194164 (patch)
treed66900415dedda8a3bcee4f087a14f7373a6da2a /src/amd/Makefile.sources
parent0f72f7292a865e50d6165d4273b529ea656031c8 (diff)
android: amd/common: add support for libmesa_amd_common
Fixes the following building error introduced with commit 7115e56 and related amd/common dependencies: external/mesa/src/gallium/drivers/radeonsi/si_shader.c:6861: error: undefined reference to 'ac_is_sgpr_param' external/mesa/src/gallium/drivers/radeonsi/si_shader.c:6951: error: undefined reference to 'ac_is_sgpr_param' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/Makefile.sources')
-rw-r--r--src/amd/Makefile.sources11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/amd/Makefile.sources b/src/amd/Makefile.sources
index 3114a21a177..5cbefa3d259 100644
--- a/src/amd/Makefile.sources
+++ b/src/amd/Makefile.sources
@@ -25,3 +25,14 @@ ADDRLIB_FILES = \
addrlib/r800/egbaddrlib.h \
addrlib/r800/siaddrlib.cpp \
addrlib/r800/siaddrlib.h
+
+AMD_COMPILER_SOURCES = \
+ common/ac_binary.c \
+ common/ac_binary.h \
+ common/ac_llvm_helper.cpp \
+ common/ac_llvm_util.c \
+ common/ac_llvm_util.h
+
+AMD_NIR_SOURCES = \
+ common/ac_nir_to_llvm.c \
+ common/ac_nir_to_llvm.h