Re: [yocto] Possible to rename file when using KERNEL_DEVICETREE_APPEND?

2017-08-13 Thread Brendan Ta


On 14/08/17 14:20, Khem Raj wrote:

On Sun, Aug 13, 2017 at 3:50 PM, Brendan Ta  wrote:

As the title states, I am including my modified device tree using
KERNEL_DEVICETREE_APPEND= and I was wondering if there was the possibility
where I could rename the file here?

I understand that IMAGE_BOOT_FILES has the option of:
IMAGE_BOOT_FILES = "oldname;newname" which uses the OpenEmbedded Image
Creator; wic.

Is it possible to easily rename the included device tree file using
KERNEL_DEVICETREE_APPEND= ?


I dont think so. But you can insert a function to do so easily. See
meta-raspberrypi for some
guidance, it doesnt do exactly what you want but you can get enough
hints for what can
be done.


Is it possible for you to provide further clarification on which 
function in the meta-raspberrypi to achieve this?  I am just having some 
trouble finding this.


Thanks

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Possible to rename file when using KERNEL_DEVICETREE_APPEND?

2017-08-13 Thread Khem Raj
On Sun, Aug 13, 2017 at 3:50 PM, Brendan Ta  wrote:
>
> As the title states, I am including my modified device tree using
> KERNEL_DEVICETREE_APPEND= and I was wondering if there was the possibility
> where I could rename the file here?
>
> I understand that IMAGE_BOOT_FILES has the option of:
> IMAGE_BOOT_FILES = "oldname;newname" which uses the OpenEmbedded Image
> Creator; wic.
>
> Is it possible to easily rename the included device tree file using
> KERNEL_DEVICETREE_APPEND= ?
>

I dont think so. But you can insert a function to do so easily. See
meta-raspberrypi for some
guidance, it doesnt do exactly what you want but you can get enough
hints for what can
be done.

> Thanks
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto