Patchwork [meta-fsl-arm,2/5] gpu-viv-bin-mx6q: Move 3.0.35-4.0.0 specific code to .bb

login
register
mail settings
Submitter Otavio Salvador
Date July 20, 2013, 10 p.m.
Message ID <1374357612-29525-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/54131/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - July 20, 2013, 10 p.m.
The patches and revision are very version specific (as new versions do
not require PR anymore) so we move it from .inc to the .bb file.

Change-Id: Ic5bc267f74ac54a28328f6b79a819d5cf852681a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc             | 5 +----
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb | 7 +++++--
 2 files changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 5d8b25c..c10b837 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -9,14 +9,11 @@  LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=19f5925343fa3da65
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', '', d)} mesa"
 PROVIDES += "virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2"
 
-INC_PR = "r5"
+PE = "1"
 
 inherit fsl-eula-unpack
 
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
-           file://0001-change-header-path-to-HAL.patch \
-           file://gc_hal_eglplatform-remove-xlib-undefs.patch \
-           file://fix-conflicting-TLS-definition.patch \
            file://egl.pc \
            file://egl_x11.pc \
            file://glesv1_cm.pc \
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb
index 47390cf..d8e00ef 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb
@@ -1,11 +1,14 @@ 
 # Copyright (C) 2012-2013 Freescale Semiconductor
 # Released under the MIT license (see COPYING.MIT for the terms)
 
-PR = "${INC_PR}.0"
-PE = "1"
+PR = "r5.0"
 
 include gpu-viv-bin-mx6q.inc
 
+SRC_URI += "file://0001-change-header-path-to-HAL.patch \
+            file://gc_hal_eglplatform-remove-xlib-undefs.patch \
+            file://fix-conflicting-TLS-definition.patch"
+
 SRC_URI[md5sum] = "2bb7d2f4bdff79ae99ce0c9fc2540701"
 SRC_URI[sha256sum] = "48d04d11c6fec11411bcd97c47199caea517ebcd86db6c70f1964b3358a68924"