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 <otavio@ossystems.com.br>
S = "${WORKDIR}/imx-bootlets-src-${PV}"
+inherit deploy
+
# Disable parallel building or it may fail to build.
PARALLEL_MAKE = ""
FILES_${PN} = "/boot"
do_deploy () {
- install -d ${DEPLOY_DIR_IMAGE}
+ install -d ${DEPLOYDIR}
for f in boot_prep/boot_prep \
power_prep/power_prep \
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
}