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

Chih-Wei Huang cwhuang at linux.org.tw
Mon Nov 6 02:08:30 UTC 2017


2017-11-03 19:02 GMT+08:00 Tapani Pälli <tapani.palli at intel.com>:
> On 11/03/2017 12:30 PM, Chih-Wei Huang wrote:
>> 2017-11-03 15:47 GMT+08:00 Tapani Pälli <tapani.palli at intel.com>:
>>> 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?
>>
>> OUT_DIR is also set to "out" if it's not already set.
>>
>> PRODUCT_OUT is where all target files go.
>> (i.e., out/target/product/$device/)
>>
>> TARGET_OUT is $PRODUCT_OUT/system
>>
>> Please see the definitions in build/core/envsetup.mk.
>
> OK, thanks. I'm not sure if TARGET_OUT is correct then, at least on
> Android-IA these vendor files are under:
>
> out/target/product/$device/vendor/lib
>
> so, not under 'system'.

Yes. This patch is used to remove old files under 'system'.
Otherwise the image may contain duplicate libraries
that causes unexpected problems.


More information about the mesa-dev mailing list