diff --git a/android/mesa3d_cross.mk b/android/mesa3d_cross.mk index aa592337d1f..acc5db4f3da 100644 --- a/android/mesa3d_cross.mk +++ b/android/mesa3d_cross.mk @@ -57,8 +57,6 @@ link_deps := \ # Build mesa3d using intermediate variables provided by AOSP make/core internals M_TARGET_PREFIX := $(my_2nd_arch_prefix) -MESA3D_LIB_DIR := lib$(subst 32,,$(LOCAL_MULTILIB)) - MESON_OUT_DIR := $($(M_TARGET_PREFIX)TARGET_OUT_INTERMEDIATES)/MESON_MESA3D MESON_GEN_DIR := $(MESON_OUT_DIR)_GEN MESON_GEN_FILES_TARGET := $(MESON_GEN_DIR)/.timestamp @@ -83,7 +81,6 @@ MESON_GEN_NINJA := \ cd $(MESON_OUT_DIR) && PATH=/usr/bin:/usr/local/bin:$$PATH meson ./build \ --cross-file $(call relative-to-absolute,$(MESON_GEN_DIR))/aosp_cross \ --buildtype=release \ - -Ddri-search-path=/vendor/$(MESA3D_LIB_DIR)/dri \ -Dplatforms=android \ -Dplatform-sdk-version=$(PLATFORM_SDK_VERSION) \ -Dgallium-drivers=$(subst $(space),$(comma),$(BOARD_MESA3D_GALLIUM_DRIVERS)) \ diff --git a/docs/drivers/llvmpipe.rst b/docs/drivers/llvmpipe.rst index 189e7683896..4380dae9687 100644 --- a/docs/drivers/llvmpipe.rst +++ b/docs/drivers/llvmpipe.rst @@ -153,10 +153,7 @@ file like this would work ``subprojects/llvm/meson.build`` where Afterwards you can continue following the instructors to build mesa on :doc:`Android <../android>` and follow the steps to add the driver -directly to an Android OS image. Please note that you'll need to set -``-Ddri-search-path`` when building the driver, so that the loader -will be able to find the driver libraries in the vendor partition -``/vendor/lib(64)/egl``. +directly to an Android OS image. Using -----