i965: android: add the i965_compile_FILES sources to the driver
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 11 Oct 2015 11:49:38 +0000 (13:49 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 Oct 2015 12:35:19 +0000 (13:35 +0100)
i965_compile_FILES are needed otherwise we'll error out as below:

target SharedLib: i915_dri (out/target/product/x86/obj/SHARED_LIBRARIES/i915_dri_intermediates/LINKED/i915_dri.so)
external/mesa/src/mesa/drivers/dri/i965/brw_ir_fs.h:181: error: undefined reference to 'fs_inst::~fs_inst()'
...
...
external/mesa/src/mesa/drivers/dri/i965/intel_screen.c:1484: error: undefined reference to 'brw_compiler_create'
collect2: error: ld returned 1 exit status
build/core/shared_library.mk:81: recipe for target 'out/target/product/x86/obj/SHARED_LIBRARIES/i965_dri_intermediates/LINKED/i965_dri.so' failed
make: *** [out/target/product/x86/obj/SHARED_LIBRARIES/i965_dri_intermediates/LINKED/i965_dri.so] Error 1

[Emil Velikov: tweak commit message]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/dri/i965/Android.mk

index a9b963a9eca22cda1b82f88df8f26ded73defba3..d30a053e10fa90ae45d43e65c175607b02ffc630 100644 (file)
@@ -48,6 +48,7 @@ LOCAL_C_INCLUDES := \
        $(MESA_DRI_C_INCLUDES)
 
 LOCAL_SRC_FILES := \
+       $(i965_compiler_FILES) \
        $(i965_FILES)
 
 LOCAL_WHOLE_STATIC_LIBRARIES := \