agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
505 stars 396 forks source link

Using external kernel source #1282

Open emilm opened 4 months ago

emilm commented 4 months ago

Is it feasible to combine meta-raspberrypi with kernel source from another repository? Like if a 3rd party has a special kernel for their hardware with everything readily patched in, it is more tempting to use that than re-applying patches and keeping up.

Thanks!

agherzan commented 4 months ago

There are ways of achieving that. Either as a bbappend to the existing kernel recipes or (cleaner) using another provider and overriding the default kernel one. Have you tried any of these venues?

emilm commented 4 months ago

Well I haven't tried yet because things like LINUX_RPI_KMETA_BRANCH and KMETA makes me wonder if I am tied to anything special for raspberry pi. What do I do with those?

agherzan commented 4 months ago

LINUX_RPI_KMETA_BRANCH is only used in the SRC_URI definition. I'm sure you can handle that as per your custom kernel fork requirements.