require recipes-graphics/drm/libdrm.inc

COMPATIBLE_MACHINE = "omap-a15"

DEFAULT_PREFERENCE = "-1"

EXTRA_OECONF += "--enable-omap-experimental-api --enable-kms"

SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git"
SRCREV = "3cb5405084111193cedb8796d259b56560b088f0"

PR = "${INC_PR}.0"

S = "${WORKDIR}/git"

Add GLSDK specific staging tree for omap-a15
libdrm: Add GLSDK specific staging tree for omap-a15

* Override SRC_URI to use TI's tree at https://git.ti.com/glsdk/libdrm
  This tree includes patches on top of the upstream libdrm for
  omap5 and dra7xx class of devices.

v2 :
* Change PR to "${INC_PR}.0" instead of using the SRCREV as per comments
  received in v1.
* Add missing configure options to get Kernel Mode Setting (KMS) as
  well. This was missing in the original patch.

Signed-off-by: Mrinmayee Hingolikar <65ee8764f43536ab6a1236598fe300183eb7172f@ti.com>
Signed-off-by: Siddharth Heroor <1457302e24e895303aa4b06d008aa2447893910c@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>
