Ack

On Wed, May 27, 2015 at 04:32:45PM -0400, [email protected] wrote:
> From: Hao Zhang <[email protected]>
> 
> The patch adds the Linux recovery kernel device tree build for K2L and
> K2E devices based on kernel v3.10.72.
> 
> Signed-off-by: Hao Zhang <[email protected]>
> ---
>  .../recovery-kernel/recovery-kernel_1.0.bb         |   18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
> 
> diff --git 
> a/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb 
> b/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
> index ad3528e..6e4f9c7 100644
> --- a/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
> +++ b/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
> @@ -1,10 +1,10 @@
>  DESCRIPTION = "Recovery kernel building for Keystone EVM"
>  LICENSE = "GPLv2"
>  
> -PR = "r2"
> +PR = "r3"
>  COMPATIBLE_MACHINE = "keystone"
> -BRANCH = "master"
> -SRCREV = "9bc93706b37c39c3a95593dc3d56773e9b7425ad"
> +BRANCH = "v3.10.72/master"
> +SRCREV = "b9bad8fccc5f9c6bcd78363982b3249a15f193fb"
>  SRC_URI = 
> "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}"
>  S = "${WORKDIR}/git"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>  FILES_${PN} += "${bindir}/crashdump"
>  LINUX_ZIMAGE = "zImage"
>  KERNEL_MACHINE ?= "keystone2_recovery_defconfig"
> -KERNEL_DTBTYPE = "k2hk-evm-recovery.dtb"
> +KERNEL_DTBTYPE = "k2hk-evm-recovery.dtb k2l-evm-recovery.dtb 
> k2e-evm-recovery.dtb "
>  CRASHDIR = "crashdump"
>  ARCH = "${TARGET_ARCH}"
>  CROSS_COMPILE = "${TARGET_PREFIX}"
> @@ -27,11 +27,17 @@ do_configure () {
>  do_compile() {
>       make ${LINUX_ZIMAGE} KALLSYMS_EXTRA_PASS=1
>       make ${KERNEL_DTBTYPE}
> -     dtc -I dtb -O dtb -p 2048 -o ${KERNEL_DTBTYPE} 
> arch/arm/boot/dts/${KERNEL_DTBTYPE}
> +        for d in ${KERNEL_DTBTYPE}
> +        do
> +            dtc -I dtb -O dtb -p 2048 -o $d arch/arm/boot/dts/$d
> +        done
>  }
>  
>  do_install () {
>       install -d ${D}${bindir}/${CRASHDIR}/
>       install ${S}/arch/arm/boot/${LINUX_ZIMAGE} ${D}${bindir}/${CRASHDIR}
> -     install ${S}/${KERNEL_DTBTYPE} ${D}${bindir}/${CRASHDIR}
> +        for d in ${KERNEL_DTBTYPE}
> +        do
> +            install ${S}/$d ${D}${bindir}/${CRASHDIR}
> +        done
>  }
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to