[Mesa-dev] [android-x86-devel] [PATCH] android: fix building error in libmesa_st_mesa
Rob Herring
robherring2 at gmail.com
Tue May 17 20:59:59 UTC 2016
+Rob C
On Tue, May 17, 2016 at 3:48 PM, Mauro Rossi <issor.oruam at gmail.com> wrote:
> Fixes the following building error due to libmesa_nir dependency:
>
> In file included from external/mesa/src/mesa/state_tracker/st_glsl_to_nir.cpp:44:0:
> external/mesa/src/compiler/nir/nir.h:42:25: fatal error: nir_opcodes.h: No such file or directory
> #include "nir_opcodes.h"
> ^
> compilation terminated.
> build/core/binary.mk:706: recipe for target 'out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_st_mesa_intermediates/state_tracker/st_glsl_to_nir.o' failed
> make: *** [out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_st_mesa_intermediates/state_tracker/st_glsl_to_nir.o] Error 1
> make: *** Waiting for unfinished jobs....
> ---
> src/mesa/Android.libmesa_st_mesa.mk | 2 ++
> 1 file changed, 2 insertions(+)
Looks good to me.
Reviewed-by: Rob Herring <robh at kernel.org>
>
> diff --git a/src/mesa/Android.libmesa_st_mesa.mk b/src/mesa/Android.libmesa_st_mesa.mk
> index bbd3956..785b6de 100644
> --- a/src/mesa/Android.libmesa_st_mesa.mk
> +++ b/src/mesa/Android.libmesa_st_mesa.mk
> @@ -63,6 +63,8 @@ LOCAL_C_INCLUDES := \
> LOCAL_WHOLE_STATIC_LIBRARIES += \
> libmesa_program
>
> +LOCAL_STATIC_LIBRARIES += libmesa_nir
> +
> include $(LOCAL_PATH)/Android.gen.mk
> include $(MESA_COMMON_MK)
> include $(BUILD_STATIC_LIBRARY)
> --
> 2.7.4
>
> --
> You received this message because you are subscribed to the Google Groups "Android-x86 development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-x86-devel+unsubscribe at googlegroups.com.
> To post to this group, send email to android-x86-devel at googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86-devel/1463518116-30848-1-git-send-email-issor.oruam%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
More information about the mesa-dev
mailing list