[OE-core] [PATCH] pkg-config: allow kernel to be build with esdk
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jun 23 14:47:47 UTC 2017
On Wed, 2017-06-14 at 07:03 -0700, Saul Wold wrote:
> 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 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.
>
> This script also replaces the default pkg-config-native script.
>
> [YOCTO #11155]
>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
To be honest, I'm scared of adding this kind of complexity to the
system. I appreciate the problem you're trying to solve but I worry
adding this kind of change is complex, invasive and introduces too much
risk.
I have some specific worries with this implementation too, in
particular that it changes on target pkg-config, it really should only
change nativesdk-pkgconfig? If we have risk, we want to minimise that
risk and adding this wrapper everywhere doesn't seem to do that...
Cheers,
Richard
More information about the Openembedded-core
mailing list