[Mesa-dev] [PATCH 2/3 v3] Android.common.mk: define HAVE_TIMESPEC_GET

Emil Velikov emil.l.velikov at gmail.com
Thu Aug 2 15:55:04 UTC 2018


On 2 August 2018 at 00:20, John Stultz <john.stultz at linaro.org> wrote:
> From: Sumit Semwal <sumit.semwal at linaro.org>
>
> This is a forward port of a patch from the AOSP/master tree:
> https://android.googlesource.com/platform/external/mesa3d/+/bd30b663f55f8af73a0be4446349c5a2d4c641b0%5E%21/
>
> Since https://android-review.googlesource.com/c/718518 added
> timespec_get() to bionic, mesa3d doesn't build due to redefinition
> of timespec_get().
>
> Avoid redefinition by defining HAVE_TIMESPEC_GET flag.
>
> Test: build and boot tested db820c to UI.
>
> Change-Id: I3dcc8034b48785e45cd3fa50e4d9cf2c684694a0
> Cc: Rob Herring <rob.herring at linaro.org>
> Cc: Alistair Strachan <astrachan at google.com>
> Cc: Marissa Wall <marissaw at google.com>
> Cc: Sumit Semwal <sumit.semwal at linaro.org>
> Cc: Emil Velikov <emil.l.velikov at gmail.com>
> Cc: Rob Clark <robdclark at gmail.com>
> Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
> Signed-off-by: Sumit Semwal <sumit.semwal at linaro.org>
> Signed-off-by: John Stultz <john.stultz at linaro.org>
> ---
> v2: Conditionalize it for PLATFORM_VERSION Q and higher
> v3: Rework conditionalization to numbered releases prior
>     to P (9.0)

RobH, feel free to push the series if the update looks reasonable.

Thanks
Emil


More information about the mesa-dev mailing list