Hi,

You could also consider using the `BBFILES_DYNAMIC`[1] variable, this way your 
bbappend
would only apply when there is `meta-raspberrypi` in the build configuration. 
Your bbappend
could be placed in custom layer under
`dynamic-layers/raspberrypi/recipes-bsp/bootfiles/ rpi-cmdline.bbappend ` path 
and than in its
layer.conf file add

BBFILES_DYNAMIC += " \
   raspberrypi :${ LAYERDIR }/ dynamic - layers / raspberrypi / recipes -*/*/*. 
bbappend \
"

Looks like the best option to add kernel command parameters is to use ` 
rpi-cmdline.bbappend`
with dynamic-layers as mentioned above. You should add changes to CMDLINE[2] 
variable

[1]https://docs.yoctoproject.org/ref-manual/variables.html#term-BBFILES_DYNAMIC
[2]https://github.com/agherzan/meta-raspberrypi/blob/master/recipes-bsp/bootfiles/rpi-cmdline.bb#L39

Regards
--
Tomasz Żyjewski
Embedded Systems Engineer
GPG: 5C495EA3EBEECA59
https://3mdeb.com | @3mdeb_com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55515): https://lists.yoctoproject.org/g/yocto/message/55515
Mute This Topic: https://lists.yoctoproject.org/mt/87584950/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to