I want to build a yocto image with linux-raspberrypi which is present in meta-raspberrypi/recipe-kernel/linux-raspberrypi_x.x.bb
While building image with "bitbake core-image-minimal". It compiles kernel from poky/meta/recipe-kernel/linux-libc-headers_x.x.bb
If I use the following lines in local.conf
PREFERRED_VERSION_linux-raspberrypi = "4.9.%"
IMAGE_INSTALL_append = " linux-raspberrypi"
This is the Error I am getting. ERROR: Nothing RPROVIDES 'linux-raspberrypi' (but /home/harris/poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
What else I should write in local.conf to compile kernel from meta-raspberrypi. Also how to stop bitbake fetching kernel directly from poky/meta/recipe-kernel/linux-libc-headers.
I am using 'sumo' branch.
Remove IMAGE_INSTALL_append = " linux-raspberrypi"
and try adding to local.conf (or machine.conf) PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi"
.