On Tue, Jul 7, 2015 at 5:16 AM,  <[email protected]> wrote:
> From: Ting Liu <[email protected]>
>
> Two kernel images are used on ls1:
> 1. uImage is used to bootup the board
> 2. zImage is used in virtualization test on board
>
> Signed-off-by: Ting Liu <[email protected]>
> ---
>  recipes-kernel/linux/linux-ls1.inc | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/recipes-kernel/linux/linux-ls1.inc 
> b/recipes-kernel/linux/linux-ls1.inc
> index cd8398e..2506161 100644
> --- a/recipes-kernel/linux/linux-ls1.inc
> +++ b/recipes-kernel/linux/linux-ls1.inc
> @@ -11,3 +11,13 @@ SRC_URI = 
> "git://git.freescale.com/ppc/sdk/linux.git;branch=${SRCBRANCH} \
>  KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
>
>  S = "${WORKDIR}/git"
> +
> +do_install_append() {
> +    install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/
> +}
> +
> +do_deploy_append() {
> +    install -m 0644 arch/${ARCH}/boot/zImage ${DEPLOYDIR}/
> +}
> +
> +FILES_kernel-image += "/boot/zImage"

The deploy needs to take into account the linking and timestamps.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to