]> code.ossystems Code Review - openembedded-core.git/commit
pkgconfig: allow kernel to be build with esdk
authorSaul Wold <sgw@linux.intel.com>
Mon, 17 Jul 2017 16:20:15 +0000 (09:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 21:45:19 +0000 (22:45 +0100)
commit0954452d151613fa758fbde8ee9469b30d80776b
tree4706021ef733f44013a0c5899e815cd087dc5ec3
parentebdd9b5a19eb6fb6c3249be4f0e2480a3de2aa8f
pkgconfig: allow kernel to be build with esdk

When the kernel's menuconfig target is called while using the esdk or an
esdk-based container, the pkg-config info that is found is not correct.
The pkg-config info is for the target, but we need the eSDK's information
in order to build the host based menuconfig.

The new pkg-config-esdk script checks both that it's in SDK and being
called from the check-lxdialog script in order to limit the scope of when
the pkg-config automagically switches to pkg-config-native.

The pkg-config-esdk is only installed as pkg-config inside the eSDK, which
is why we use the sstate post install script and check for if we are in the
esdk environment using the WITHIN_EXT_SDK

[YOCTO #11155]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-esdk.in [new file with mode: 0644]
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb