]> code.ossystems Code Review - openembedded-core.git/commit
kernel: export native PKGCONFIG variables
authorBruce Ashfield <bruce.ashfield@gmail.com>
Tue, 23 Nov 2021 04:22:55 +0000 (23:22 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Nov 2021 16:58:29 +0000 (16:58 +0000)
commit9172d61c57e23682c3d2c25701cbd53c84d01a27
tree3832e93bedab30ea4f81256af4169badd5b6f231
parent37fb1592eb8bcc4a8bbfc3f4b1dc6373733827f0
kernel: export native PKGCONFIG variables

In a similar manner to cml1.bbclass, we export the pkg-config
variables to allow a direct call to pkg-config access to the
native sysroot versus the target sysroot.

The kernel doesn't use pkg-config for target configuration,
and has many explicit calls to pkg-config, without the
possibility of easy override to pkg-config-native.

The calls to pkg-config could be made cross friendly via
replacement with make variables, but until that effort is
undertaken upstream, we need a bridge approach.

In particular, this is required for dtschema validation,
which is a requirement in kernel 5.16+

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
meta/classes/kernel.bbclass