[OE-core] [PATCH] linux-dtb.inc: update dtb name to keep it same in D and DEPLOYDIR

Richard Purdie richard.purdie at linuxfoundation.org
Thu Jul 12 11:03:42 UTC 2012


On Thu, 2012-07-12 at 04:17 -0500, b28495 at freescale.com wrote:
> From: Ting Liu <b28495 at freescale.com>
> 
> Device tree binary is named as "devicetree-*" in ${D},
> "${KERNEL_IMAGETYPE}-*" in ${DEPLOYDIR}. Keep them the same.
> 
> Signed-off-by: Ting Liu <b28495 at freescale.com>
> ---
>  meta/recipes-kernel/linux/linux-dtb.inc |    9 ++++++---
>  1 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
> index 8aa1458..3dd4d41 100644
> --- a/meta/recipes-kernel/linux/linux-dtb.inc
> +++ b/meta/recipes-kernel/linux/linux-dtb.inc
> @@ -1,5 +1,5 @@
>  # Support for device tree generation
> -FILES_kernel-devicetree = "/boot/devicetree*"
> +FILES_kernel-devicetree = "/boot/*.dtb"
>  KERNEL_DEVICETREE_FLAGS = "-R 8 -p 0x3000"
>  
>  python __anonymous () {
> @@ -10,7 +10,7 @@ python __anonymous () {
>  	depends = d.getVar("DEPENDS", True)
>  	d.setVar("DEPENDS", "%s dtc-native" % depends)
>  	packages = d.getVar("PACKAGES", True)
> -	d.setVar("PACKAGES", "%s kernel-devicetree" % packages)
> +	d.setVar("PACKAGES", "kernel-devicetree %s" % packages)
>  }

Why did you need to change PACKAGES? There is no mention of this in the
patch description.

Cheers,

Richard





More information about the Openembedded-core mailing list