Skip to contentSkip to conversation

cmem: Bump SRCREV to fix build with GCC 4.9 and Linux 4.1

PATCH In review Jacob Stiffler 2 participants 3 messages Aug 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmem: Bump SRCREV to fix build with GCC 4.9 and Linux 4.1

* Changes retain compatibility with older tolchain and kernl.

---
 recipes-bsp/cmem/cmem-mod_git.bb | 2 +-
 recipes-bsp/cmem/cmem.inc        | 8 ++++----
 recipes-bsp/cmem/cmem_git.bb     | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
recipes-bsp/cmem/cmem-mod_git.bb +1 -1
index b36eb09..6b2303c 100644
@@ -3,7 +3,7 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
 include cmem.inc
 
 # This package builds a kernel module, use kernel PR as base and append a local
-MACHINE_KERNEL_PR_append = "b"
+MACHINE_KERNEL_PR_append = "a"
 PR = "${MACHINE_KERNEL_PR}"
 
 inherit module
recipes-bsp/cmem/cmem.inc +4 -4
index 23e5f2e..0d3e918 100644
@@ -3,11 +3,11 @@ HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
 
-BRANCH ?= "master"
-# This corresponds to version 4.10.01.02
-SRCREV = "a51d9770021fd16c97fc59b320286a3fa43278bc"
+BRANCH ?= "lu-next"
+# This corresponds to version 4.10.02.03
+SRCREV = "d47ac635699da6bee6daff31b87b0123e13af4ac"
 
-PV = "4.10.01.02+git${SRCPV}"
+PV = "4.10.02.03+git${SRCPV}"
 
 SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
 
recipes-bsp/cmem/cmem_git.bb +1 -1
index b30029d..bab9238 100644
@@ -4,7 +4,7 @@ include cmem.inc
 
 RDEPENDS_${PN} = "cmem-mod"
 
-PR = "r1"
+PR = "r0"
 
 PACKAGES =+ "${PN}-test"
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Jacob Stiffler

* Changes retain compatibility with older tolchain and kernl.

Unless you really really need this in daisy for some other fixes, it doesn't make much sense to push it there just for gcc-4.9 and linux-4.1 changes, which are not supported in daisy...

Quoted 61 lines
---
 recipes-bsp/cmem/cmem-mod_git.bb | 2 +-
 recipes-bsp/cmem/cmem.inc        | 8 ++++----
 recipes-bsp/cmem/cmem_git.bb     | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
recipes-bsp/cmem/cmem-mod_git.bb +1 -1
index b36eb09..6b2303c 100644
@@ -3,7 +3,7 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
 include cmem.inc
 
 # This package builds a kernel module, use kernel PR as base and append a local
-MACHINE_KERNEL_PR_append = "b"
+MACHINE_KERNEL_PR_append = "a"
 PR = "${MACHINE_KERNEL_PR}"
 
 inherit module
recipes-bsp/cmem/cmem.inc +4 -4
index 23e5f2e..0d3e918 100644
@@ -3,11 +3,11 @@ HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
 
-BRANCH ?= "master"
-# This corresponds to version 4.10.01.02
-SRCREV = "a51d9770021fd16c97fc59b320286a3fa43278bc"
+BRANCH ?= "lu-next"
+# This corresponds to version 4.10.02.03
+SRCREV = "d47ac635699da6bee6daff31b87b0123e13af4ac"
 
-PV = "4.10.01.02+git${SRCPV}"
+PV = "4.10.02.03+git${SRCPV}"
 
 SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
 
recipes-bsp/cmem/cmem_git.bb +1 -1
index b30029d..bab9238 100644
@@ -4,7 +4,7 @@ include cmem.inc
 
 RDEPENDS_${PN} = "cmem-mod"
 
-PR = "r1"
+PR = "r0"
 
 PACKAGES =+ "${PN}-test"
 
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw
Quoted 6 lines · Denys Dmytriyenko
Quoted 1 line · Jacob Stiffler

* Changes retain compatibility with older tolchain and kernl.

Unless you really really need this in daisy for some other fixes, it doesn't make much sense to push it there just for gcc-4.9 and linux-4.1 changes, which are not supported in daisy...

The main purpose of this patch is to fix the compilation with gcc-4.9 and linux4.1, but also some typos and compiler warnings have been resolved.

Quoted 61 lines
Quoted 61 lines
---
  recipes-bsp/cmem/cmem-mod_git.bb | 2 +-
  recipes-bsp/cmem/cmem.inc        | 8 ++++----
  recipes-bsp/cmem/cmem_git.bb     | 2 +-
  3 files changed, 6 insertions(+), 6 deletions(-)
recipes-bsp/cmem/cmem-mod_git.bb +1 -1
index b36eb09..6b2303c 100644
@@ -3,7 +3,7 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
  include cmem.inc
 
  # This package builds a kernel module, use kernel PR as base and append a local
-MACHINE_KERNEL_PR_append = "b"
+MACHINE_KERNEL_PR_append = "a"
  PR = "${MACHINE_KERNEL_PR}"
 
  inherit module
recipes-bsp/cmem/cmem.inc +4 -4
index 23e5f2e..0d3e918 100644
@@ -3,11 +3,11 @@ HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
 
-BRANCH ?= "master"
-# This corresponds to version 4.10.01.02
-SRCREV = "a51d9770021fd16c97fc59b320286a3fa43278bc"
+BRANCH ?= "lu-next"
+# This corresponds to version 4.10.02.03
+SRCREV = "d47ac635699da6bee6daff31b87b0123e13af4ac"
 
-PV = "4.10.01.02+git${SRCPV}"
+PV = "4.10.02.03+git${SRCPV}"
 
  SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
 
recipes-bsp/cmem/cmem_git.bb +1 -1
index b30029d..bab9238 100644
@@ -4,7 +4,7 @@ include cmem.inc
 
  RDEPENDS_${PN} = "cmem-mod"
 
-PR = "r1"
+PR = "r0"
 
  PACKAGES =+ "${PN}-test"
 
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti