diff --git a/src/amd/Android.compiler.mk b/src/amd/Android.compiler.mk index 3f544ac3cf1..7d4a1ea4381 100644 --- a/src/amd/Android.compiler.mk +++ b/src/amd/Android.compiler.mk @@ -32,10 +32,8 @@ include $(CLEAR_VARS) LOCAL_MODULE := libmesa_aco -# filter-out compiler/aco_instruction_selection_setup.cpp because -# it's already included by compiler/aco_instruction_selection.cpp LOCAL_SRC_FILES := \ - $(filter-out compiler/aco_instruction_selection_setup.cpp, $(ACO_FILES)) + $(ACO_FILES) LOCAL_CFLAGS += -DFORCE_BUILD_AMDGPU # instructs LLVM to declare LLVMInitializeAMDGPU* functions diff --git a/src/amd/Makefile.sources b/src/amd/Makefile.sources index 17e5fcbd0a7..aa029731569 100644 --- a/src/amd/Makefile.sources +++ b/src/amd/Makefile.sources @@ -78,6 +78,7 @@ ACO_FILES = \ compiler/aco_dead_code_analysis.cpp \ compiler/aco_dominance.cpp \ compiler/aco_instruction_selection.cpp \ + compiler/aco_instruction_selection.h \ compiler/aco_instruction_selection_setup.cpp \ compiler/aco_interface.cpp \ compiler/aco_interface.h \