From 14b95789762c29f9893ec8043b7e4f77a5d9db64 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Fri, 21 Feb 2014 15:13:16 +0800 Subject: rcw: update to sdk v1.6 release add support for new added boards Signed-off-by: Ting Liu --- recipes-bsp/rcw/rcw_git.bb | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'recipes-bsp/rcw') 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 -- cgit v1.2.3-54-g00ecf