[PATCH] libdrm: Convert to Android.mk to Android.bp

Rob Herring robh at kernel.org
Tue Sep 24 22:24:01 UTC 2019


On Tue, Sep 24, 2019 at 4:29 PM John Stultz <john.stultz at linaro.org> wrote:
>
> This patch removes the deprecated Android.mk files and replaces
> them with Android.bp files, used in Android N and newer
> releases.
>
> This is needed in order to build libdrm/master against recent
> Android releases and AOSP/master, as some of the Treble build
> options required since Android O cannot be expressed in
> Andorid.mk files.
>
> Patch originally by Dan Willemsen with fixes folded in by:
>  Jerry Zhang, Eliott Hughes and myself.
>
> While this does cost comptability with older pre Android N
> releases, I'd contend that being able to build/test
> libdrm/master against AOSP/master and recent releases is more
> valuable then soley maintaining support for old and unsupported
> Android releases.

Trying to maintain something that works across more than 3 releases or
so is painful. I don't think android-x86 folks have the bandwidth to
maintain things older than that *and* update to newer versions. So I
think only supporting the n latest releases is good.

Are .bp files for master/Q compatible back to N (or O)? IIRC, at least
for the first couple of releases with .bp files, they seemed to have
incompatible changes.

Rob


More information about the dri-devel mailing list