X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=Android.mk;h=05ed62f594188852830b9683e1f39d3b04a82405;hb=a9cf3aa2087f807b15e0e59ad00dd5bacf362c18;hp=6a3014c81bb860fbfc3d4e7f25ccfb06c70f1f6f;hpb=a75c6163e605f35b14f26930dd9227e4f337ec9e;p=mesa.git diff --git a/Android.mk b/Android.mk index 6a3014c81bb..05ed62f5941 100644 --- a/Android.mk +++ b/Android.mk @@ -24,12 +24,17 @@ # BOARD_GPU_DRIVERS should be defined. The valid values are # # classic drivers: i915 i965 -# gallium drivers: swrast i915g nouveau r300g r600g radeonsi vmwgfx +# gallium drivers: swrast i915g ilo nouveau r300g r600g radeonsi vmwgfx # # The main target is libGLES_mesa. For each classic driver enabled, a DRI # module will also be built. DRI modules will be loaded by libGLES_mesa. MESA_TOP := $(call my-dir) + +MESA_ANDROID_MAJOR_VERSION := $(word 1, $(subst ., , $(PLATFORM_VERSION))) +MESA_ANDROID_MINOR_VERSION := $(word 2, $(subst ., , $(PLATFORM_VERSION))) +MESA_ANDROID_VERSION := $(MESA_ANDROID_MAJOR_VERSION).$(MESA_ANDROID_MINOR_VERSION) + MESA_COMMON_MK := $(MESA_TOP)/Android.common.mk MESA_PYTHON2 := python @@ -37,7 +42,7 @@ DRM_TOP := external/drm DRM_GRALLOC_TOP := hardware/drm_gralloc classic_drivers := i915 i965 -gallium_drivers := swrast i915g nouveau r300g r600g radeonsi vmwgfx +gallium_drivers := swrast i915g ilo nouveau r300g r600g radeonsi vmwgfx MESA_GPU_DRIVERS := $(strip $(BOARD_GPU_DRIVERS)) @@ -73,6 +78,7 @@ endif ifneq ($(strip $(MESA_GPU_DRIVERS)),) SUBDIRS := \ + src/loader \ src/mapi \ src/glsl \ src/mesa \