[Mesa-dev] [PATCH] Android: update CleanSpec.mk

Tapani Pälli tapani.palli at intel.com
Fri Nov 3 07:47:43 UTC 2017


Hi Chih-Wei;

This looks good to me. Only thing that causes a bit of headache is ... 
what is the difference between PRODUCT_OUT, OUT_DIR and TARGET_OUT?

On 11/03/2017 09:36 AM, Chih-Wei Huang wrote:
> The libraries are moved to /vendor since commit c3f75d48.
> Clean all old files for incremental builds.
> 
> Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
> ---
>   CleanSpec.mk | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/CleanSpec.mk b/CleanSpec.mk
> index d08b0def7d..eca3845354 100644
> --- a/CleanSpec.mk
> +++ b/CleanSpec.mk
> @@ -14,3 +14,10 @@ $(call add-clean-step, rm -rf $(HOST_OUT_release)/*/EXECUTABLES/mesa_*_intermedi
>   $(call add-clean-step, rm -rf $(HOST_OUT_release)/*/EXECUTABLES/glsl_compiler_intermediates)
>   $(call add-clean-step, rm -rf $(HOST_OUT_release)/*/STATIC_LIBRARIES/libmesa_*_intermediates)
>   $(call add-clean-step, rm -rf $(PRODUCT_OUT)/*/SHARED_LIBRARIES/*_dri_intermediates)
> +
> +# Move libraries to /vendor
> +$(call add-clean-step, rm -f $(TARGET_OUT)/lib*/dri/*)
> +$(call add-clean-step, rm -f $(TARGET_OUT)/lib*/libgbm.so)
> +$(call add-clean-step, rm -f $(TARGET_OUT)/lib*/libglapi.so)
> +$(call add-clean-step, rm -f $(TARGET_OUT)/lib*/libvulkan_intel.so)
> +$(call add-clean-step, rm -f $(TARGET_OUT)/lib*/egl/libGLES_mesa.so)
> 


More information about the mesa-dev mailing list