]> code.ossystems Code Review - meta-freescale.git/commitdiff
rcw: update to sdk v1.6 release
authorZhenhua Luo <zhenhua.luo@freescale.com>
Fri, 21 Feb 2014 07:13:16 +0000 (15:13 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 8 Jul 2014 10:14:46 +0000 (18:14 +0800)
add support for new added boards

Signed-off-by: Ting Liu <b28495@freescale.com>
meta-fsl-ppc/recipes-bsp/rcw/rcw_git.bb

index ad961ed8646f0259d9d6492366319fa5e4fd32e4..5e751b8cd8c827687927985a27de9dddc8dae36f 100644 (file)
@@ -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