On Tue, Feb 23, 2021 at 06:56:02AM -0800, Karthik Poduval wrote:
Hi Mikko,A kernel recipe will provide linux-libc-headers after a
"make headers_install" call...
So the SRC_URI of linux-libc-headers can be the same as from the
linux kernel recipe, or linux kernel recipe can provide (with some
tricks, possibly) the linux-libc-headers binary packages.
I have an application that uses dmabuf heap that potentially extendsI guess the reason is to split userspace to BSP/board specific and common
parts. It's not good if whole userspace bootstrap depends on kernel
recipe and any kernel changes requires full bootstrap and recompilation
of all userspace.
But there are BSP/board specific recipes which do need the real effective
kernel headers to interface with kernel drivers, and there are SoC
architecture specific ones which just need enough to build gcc and glibc.
Both have their pross and cons, and to me there is no clear winner.