[OE-core] [PATCH oe-core] linux-dtb: add dtb into deploy cache package

Saul Wold sgw at linux.intel.com
Thu Dec 22 21:55:43 UTC 2011


On 12/22/2011 02:23 AM, b19537 at freescale.com wrote:
> From: Zhenhua Luo<b19537 at freescale.com>
>
>      >  current dtb is not included in the deploy cache package, dtb is missing
>        when build kernel from caches
>
> Signed-off-by: Zhenhua Luo<b19537 at freescale.com>
> ---
>   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
> +}
What machines did you test this on?  Is it possible that some kernels do 
not generate .dtb files?

Sau!




More information about the Openembedded-core mailing list