[OE-core] [PATCH 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue

Anders Darander anders at chargestorm.se
Wed May 10 13:20:55 UTC 2017


* Chunrong Guo <B40290 at freescale.com> [170510 11:02]:

> From: Chunrong Guo <chunrong.guo at nxp.com>

>     * For example:
>       KERNEL_DEVICETREE ?= "freescale/fsl-ls1046a-rdb.dtb"

>       ${DTB}= "freescale/fsl-ls1046a-rdb.dtb"

Why not just change the definition above?

Curious, as that would've been the easiest and quickest solution.

Is the current definition necessary in some other way?

Cheers,
Anders

>       but only fsl-ls1046a-rdb.dtb  should be used in fit-image.its

> -			DTB_PATH="arch/${ARCH}/boot/dts/${DTB}"
> +                          
> +			DTB=`basename ${DTB}`
> +                        DTB_PATH=`find arch/${ARCH}/boot -name "${DTB}"`
> + 


-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB



More information about the Openembedded-core mailing list