Hello, I am writing this mail to ask something about Yocto Project BSP for BBB.
My question is, when I want to make some change in BSP, is it good practice to add some .bbappend files into the meta-ti BSP layer instead of adding a new my own layer?
To be specific, it seems that do_configure function in meta-ti doesn’t search kernel configuration fragment file (.cfg) outside of meta-ti working directory. For example, when I firstly tried to add a new layer created new .bbappend file and .cfg file to that directory bitbake -c do_menuconfig virtual/kernel returns error because even though do_configurefunction doesn’t traverse my new layer directory. So my alternative way is move my new bbappend file and .cfg files into meta-ti directory and do something.
But as I know, modifying other’s layer is not recommend in Yocto project(not modify, but, extend it). But is BSP layer exception in this rule? Can I get some advises for it?
No, add the .bbappend to your meta layer, you just need the same directory structure as in meta-ti and add your meta layer to bblayers.conf in your build directory
Hello, I am writing this mail to ask something about Yocto Project BSP for BBB.
My question is, when I want to make some change in BSP, is it good practice to add some .bbappend files into the meta-ti BSP layer instead of adding a new my own layer?
Ya, found this to be true also, depends on which yocto version. I tend to keep a copy of the defconfig in my meta data and just update it with changes. There are other ways, all depends on your preference.