Hi David,

On 1/27/25 12:12 PM, David Daniel via lists.yoctoproject.org wrote:
Hi

I am trying to figure out why the following snippet of a kernel
.bbappend file does not populate the custom device tree source file in
the proper location:


     FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
     SRC_URI += "\
      file://defconfig;name=config \
      file://cf200.dts;name=dts;subdir=git/arch/${ARCH}/boot/dts/freescale \
     "


You should consider putting this dts in a separate recipe, see https://docs.yoctoproject.org/ref-manual/classes.html#devicetree for how to do it.

     COMPATIBLE_MACHINE = "(cf200)"
It also seems the configuration is not applied. If I rename the
defconfig file to doesntexist the build fails early. The defconfig file

It depends on what the kernel recipe is doing with that defconfig. Could also be trying to apply fragments afterwards for example. Without having a look at the recipe, it'll be difficult to tell. You haven't said to which recipe this bbappend is supposed to apply though and there are many ways and many kernel recipes around :)

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64643): https://lists.yoctoproject.org/g/yocto/message/64643
Mute This Topic: https://lists.yoctoproject.org/mt/110836825/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to