From c4a6a76d38f44283e7b5914883d7247ef7cf462c Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Mon, 5 Jan 2015 18:32:26 +0800 Subject: [PATCH] hv-cfg: t1042rdb use the same setting with t1040 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 --- meta-fsl-ppc/recipes-virtualization/hv-cfg/hv-cfg_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-fsl-ppc/recipes-virtualization/hv-cfg/hv-cfg_git.bb b/meta-fsl-ppc/recipes-virtualization/hv-cfg/hv-cfg_git.bb index 0fc83e09..599bce28 100644 --- a/meta-fsl-ppc/recipes-virtualization/hv-cfg/hv-cfg_git.bb +++ b/meta-fsl-ppc/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 } -- 2.40.1