[meta-freescale] [meta-fsl-ppc][PATCH 08/20] hv-cfg: t1042rdb use the same setting with t1040

ting.liu at freescale.com ting.liu at freescale.com
Mon Jan 5 02:32:26 PST 2015


From: Ting Liu <ting.liu at freescale.com>

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 at freescale.com>
---
 recipes-virtualization/hv-cfg/hv-cfg_git.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/recipes-virtualization/hv-cfg/hv-cfg_git.bb b/recipes-virtualization/hv-cfg/hv-cfg_git.bb
index 0fc83e0..599bce2 100644
--- a/recipes-virtualization/hv-cfg/hv-cfg_git.bb
+++ b/recipes-virtualization/hv-cfg/hv-cfg_git.bb
@@ -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
 }
-- 
1.9.1



More information about the meta-freescale mailing list