From patchwork Thu Dec 22 10:23:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: linux-dtb: add dtb into deploy cache package Date: Thu, 22 Dec 2011 10:23:48 -0000 From: Zhenhua Luo X-Patchwork-Id: 17457 Message-Id: <1324549428-22664-1-git-send-email-b19537@freescale.com> To: From: Zhenhua Luo > current dtb is not included in the deploy cache package, dtb is missing when build kernel from caches Signed-off-by: Zhenhua Luo --- meta/recipes-kernel/linux/linux-dtb.inc | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc index 7ec7584..f6f5f81 100644 --- a/meta/recipes-kernel/linux/linux-dtb.inc +++ b/meta/recipes-kernel/linux/linux-dtb.inc @@ -25,3 +25,9 @@ do_install_append() { fi } +do_deploy_append() { + install -d ${DEPLOYDIR} + install -m 0644 ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.dtb + cd ${DEPLOYDIR} + ln -sf ${KERNEL_IMAGE_BASE_NAME}.dtb ${KERNEL_IMAGE_SYMLINK_NAME}.dtb +}