Patchwork [meta-fsl-ppc,09/39] rcw: update to sdk v1.6 release

login
register
mail settings
Submitter Ting Liu
Date July 2, 2014, 3:01 a.m.
Message ID <1404270108-3448-10-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74583/
State Superseded
Headers show

Comments

Ting Liu - July 2, 2014, 3:01 a.m.
From: Zhenhua Luo <zhenhua.luo@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 recipes-bsp/rcw/rcw_git.bb |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Patch

diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb
index ad961ed..5e751b8 100644
--- a/recipes-bsp/rcw/rcw_git.bb
+++ b/recipes-bsp/rcw/rcw_git.bb
@@ -12,26 +12,30 @@  PACKAGE_ARCH = "${MACHINE_ARCH}"
 inherit deploy
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;nobranch=1"
-SRCREV = "bc38737b5cb08336a075cb38481881f87b33b7a1"
-SRCREV_t2080qds = "a694a89f4b57ce700b5b2ea84302c8618ece2f0f"
-SRCREV_t2080qds-64b = "a694a89f4b57ce700b5b2ea84302c8618ece2f0f"
+SRCREV = "261b2355e9936ecb37b61e6f58dfc48dcfb805b3"
 
 S = "${WORKDIR}/git"
 
 export PYTHON
 
 do_install () {
-	make install
-
-	M=`echo ${MACHINE} | sed s/-64b//g`
-	install -d ${D}/boot/rcw
-	cp -r ${S}/${M}/${M}/* ${D}/boot/rcw
+    make install
+
+    M=`echo ${MACHINE} | sed s/-64b//g`
+    if [ "t1042rdb" = "${M}" ];then
+        M=${M}_pi
+    fi
+    install -d ${D}/boot/rcw
+    cp -r ${S}/${M}/${M}/* ${D}/boot/rcw
 }
 
 do_deploy () {
-	M=`echo ${MACHINE} | sed s/-64b//g`
-	install -d ${DEPLOYDIR}/rcw
-	cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/rcw
+    M=`echo ${MACHINE} | sed s/-64b//g`
+    if [ "t1042rdb" = "${M}" ];then
+        M=${M}_pi
+    fi
+    install -d ${DEPLOYDIR}/rcw
+    cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/rcw
 }
 addtask deploy after do_install