From 70e8c9edc136e151940cec7f2879aea64c902d5a Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 22 Sep 2013 18:04:41 -0300 Subject: [PATCH] imx-bootlets: Add deploy in sstate-cache The right way to support deployment of files is inheriting the deploy class so it is add to the sstate-cache. If we don't do that we end redoing the build without a real need. Change-Id: If0a0cdcfe8abf5b50b72a0c04c8d0d273ad1a91a Signed-off-by: Otavio Salvador --- .../recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb index dd34ba84..b96c1e95 100644 --- a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb @@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "63f6068ae36884adef4259bbb1fe2591755718f22c46d0a59d854883df S = "${WORKDIR}/imx-bootlets-src-${PV}" +inherit deploy + # Disable parallel building or it may fail to build. PARALLEL_MAKE = "" @@ -56,7 +58,7 @@ do_install () { FILES_${PN} = "/boot" do_deploy () { - install -d ${DEPLOY_DIR_IMAGE} + install -d ${DEPLOYDIR} for f in boot_prep/boot_prep \ power_prep/power_prep \ @@ -66,8 +68,8 @@ do_deploy () { full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}" symlink_name="imx-bootlets-`basename $f`-${MACHINE}" - install -m 644 ${S}/$f ${DEPLOY_DIR_IMAGE}/$full_name - (cd ${DEPLOY_DIR_IMAGE} ; rm -f $symlink_nake ; ln -sf $full_name $symlink_name) + install -m 644 ${S}/$f ${DEPLOYDIR}/$full_name + (cd ${DEPLOYDIR} ; rm -f $symlink_nake ; ln -sf $full_name $symlink_name) done } -- 2.40.1