[OE-core] [PATCH] linux-libc-headers: exclude drm headers from sysroot
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Aug 4 14:52:24 UTC 2015
On Tue, 2015-08-04 at 09:58 -0400, Paul Gortmaker wrote:
> While diagnosing a problem with xf86-video-intel I noticed we had two
> copies of drm headers in the sysroot; one from here and one from
> the libdrm package. The xf86-video-intel turned out to be another
> thing, but that doesn't mean we want two copies in the sysroot with
> different content and luck of include path indicating which one we
> get.
>
> This one landed in usr/include/drm and the libdrm one put its files
> at usr/include/libdrm, so there was no obvious over-write conflict.
>
> The obvious risk here would be unearthing implicit dependencies on
> the libdrm; things trying to build before it has populated the sysroot
> but two full highly parallel builds containing a full desktop graphics
> suite did not show any issues.
>
> Cc: Bruce Ashfield <bruce.ashfield at windriver.com>
> Cc: Richard Purdie <richard.purdie at linuxfoundation.org>
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
Is this something which should get addressed in the upstream kernel?
I agree we likely don't want two sets of those.
Cheers,
Richard
More information about the Openembedded-core
mailing list