]> code.ossystems Code Review - meta-freescale.git/commitdiff
hv-cfg: t1042rdb use the same setting with t1040
authorTing Liu <ting.liu@freescale.com>
Mon, 5 Jan 2015 10:32:26 +0000 (18:32 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Wed, 7 Jan 2015 02:15:36 +0000 (10:15 +0800)
As previous t1042rdb was renamed to t1042rdb-pi and the new t1042rdb
keep the same with t1040rdb except rcw/u-boot/dtb, update hv-cfg to
follow this.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
meta-fsl-ppc/recipes-virtualization/hv-cfg/hv-cfg_git.bb

index 0fc83e09e8a8fc77d58871fa6763550db909cead..599bce28fc2ace05f047c8bf308b7cea7ca473f0 100644 (file)
@@ -27,12 +27,18 @@ do_install () {
        make install
 
        M=`echo ${MACHINE} | sed s/-64b//g`
+       if [ "t1042rdb" = "${M}" ];then
+               M=t1040rdb
+       fi
        install -d ${D}/boot/hv-cfg
        cp -r ${S}/${M}/${M}/* ${D}/boot/hv-cfg
 }
 
 do_deploy () {
        M=`echo ${MACHINE} | sed s/-64b//g`
+       if [ "t1042rdb" = "${M}" ];then
+               M=t1040rdb
+       fi
        install -d ${DEPLOYDIR}/hv-cfg
        cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/hv-cfg
 }