[meta-ti] [PATCH] libdrm: Add GLSDK specific staging tree for omap-a15

Maupin, Chase chase.maupin at ti.com
Thu Jun 27 10:46:43 PDT 2013


>-----Original Message-----
>From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-
>bounces at yoctoproject.org] On Behalf Of Heroor, Siddharth
>Sent: Thursday, June 27, 2013 12:17 PM
>To: meta-ti at yoctoproject.org
>Subject: [meta-ti] [PATCH] 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.
>
>Signed-off-by: Mrinmayee Hingolikar <mrinmayee at ti.com>
>Signed-off-by: Siddharth Heroor <heroor at ti.com>
>---
> recipes-graphics/drm/libdrm_2.4.41.bb |   15 +++++++++++++++
> 1 files changed, 15 insertions(+), 0 deletions(-)
> create mode 100644 recipes-graphics/drm/libdrm_2.4.41.bb
>
>diff --git a/recipes-graphics/drm/libdrm_2.4.41.bb b/recipes-
>graphics/drm/libdrm_2.4.41.bb
>new file mode 100644
>index 0000000..31f7cee
>--- /dev/null
>+++ b/recipes-graphics/drm/libdrm_2.4.41.bb

I thought you were going to bbappend this instead of overlaying the whole recipe.

>@@ -0,0 +1,15 @@
>+require recipes-graphics/drm/libdrm.inc
>+
>+COMPATIBLE_MACHINE = "omap-a15"
>+
>+DEFAULT_PREFERENCE = "-1"
>+
>+EXTRA_OECONF += "--enable-omap-experimental-api"
>+
>+SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git"
>+SRCREV = "3cb5405084111193cedb8796d259b56560b088f0"
>+
>+# Append to the PR so that a new SRCREV will cause a rebuild
>+PR_append = "a+gitr${SRCPV}"

I always had issue with this.  I'm not sure that this statement holds true because whether a new SRCREV will cause a rebuild would depend on whether that SRCREV sorts higher than the old one.  Unless something else has changed.  This is useful though if you want to know what SRCREV was used for a build.

That being said if you were going to overlay this recipe the PR should be something like

PR = "${INC_PR}.0"

Right now you are appending to the default since PR is not defined.  With a bbappend you should append a -arago flag.

So this comes back to why no bbappend?  Is it because the base version in oe-core is 2.4.39 and not 2.4.41?  Can you not append the _git version of the recipe and update the PV appropriately?

>+
>+S = "${WORKDIR}/git"
>--
>1.7.0.4
>
>_______________________________________________
>meta-ti mailing list
>meta-ti at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/meta-ti



More information about the meta-ti mailing list