[meta-freescale] [meta-fsl-arm][PATCH v3 02/13] linux-ls1: package zImage into kernel-images

Otavio Salvador otavio at ossystems.com.br
Tue Jul 7 06:13:23 PDT 2015


On Tue, Jul 7, 2015 at 5:16 AM,  <b28495 at freescale.com> wrote:
> From: Ting Liu <ting.liu at freescale.com>
>
> 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 <ting.liu at freescale.com>
> ---
>  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


More information about the meta-freescale mailing list