Module: Mesa
Branch: master
Commit: 45f0392ceb463612ec2f31c52adedf5440fffc32
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=45f0392ceb463612ec2f31c52adedf5440fffc32

Author: Mauro Rossi <[email protected]>
Date:   Sun Oct 11 13:49:38 2015 +0200

i965: android: add the i965_compile_FILES sources to the driver

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 <[email protected]>

---

 src/mesa/drivers/dri/i965/Android.mk |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/Android.mk 
b/src/mesa/drivers/dri/i965/Android.mk
index a9b963a..d30a053 100644
--- a/src/mesa/drivers/dri/i965/Android.mk
+++ b/src/mesa/drivers/dri/i965/Android.mk
@@ -48,6 +48,7 @@ LOCAL_C_INCLUDES := \
        $(MESA_DRI_C_INCLUDES)
 
 LOCAL_SRC_FILES := \
+       $(i965_compiler_FILES) \
        $(i965_FILES)
 
 LOCAL_WHOLE_STATIC_LIBRARIES := \

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to