Patchwork [2/4] ti-pru-sw-edma-driver: do not strip driver

login
register
mail settings
Submitter Melissa Watkins
Date Dec. 13, 2010, 1:19 p.m.
Message ID <1292246388-5903-1-git-send-email-m-watkins@ti.com>
Download mbox | patch
Permalink /patch/59/
State Accepted
Headers show

Comments

Melissa Watkins - Dec. 13, 2010, 1:19 p.m.
* Added PACKAGE_STRIP = "no" so that the module will not be
  stripped and can be insmoded into the kernel.  Failure to
  do so results in errors like:
    <module>: module has no symbols (stripped?)
* Changed PR setting to key off changes to MACHINE_KERNEL_PR
  or the SRCREV of the module repository.
* Updated SRC_REV.
* Updated COMAPTIBLE_MACHINE

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

Patch

diff --git a/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb b/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
index e315f8e..b975d78 100644
--- a/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
+++ b/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
@@ -1,16 +1,18 @@ 
 DESCRIPTION = "Builds eDMA module used by eDMA libraries for PRU sw example applications"
 HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
 LICENSE = "GPLv2"
-PR = "r0+svnr${SRCPV}"
 
-COMPATIBLE_MACHINE = "omapl138|am180x-evm|am181x-evm"
+COMPATIBLE_MACHINE = "omapl138"
 
 SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;pswd=''"
 
-SRCREV = "18"
+SRCREV = "20"
 S = "${WORKDIR}/trunk/peripheral_lib/edma_driver/module"
 
+PACKAGE_STRIP = "no"
+
 inherit module
+PR = "${MACHINE_KERNEL_PR}+svnr${SRCPV}"
 
 do_install () {
         install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru