summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/menuconfig.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-01-26 12:42:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-15 21:46:56 +0000
commit50ee9f9c4e20c1c36bfbb66bbfd7588b003d9c4e (patch)
tree289ad6b22157ef7149e152b1abb89d9a673f93d8 /scripts/lib/devtool/menuconfig.py
parenta2b90bf37e76b95e354c0fd4f59530a8db961a1b (diff)
downloadpoky-50ee9f9c4e20c1c36bfbb66bbfd7588b003d9c4e.tar.gz
buildtools-tarball: set pkg-config search path
The buildtools-tarball includes a native sysroot with .pc files, and in the case of buildtools-extended-tarball a pkg-config binary too. If we're using the host pkg-config then it doesn't know to search in the native sysroot. If we're using our pkg-config then it searches in the build-time prefix and not the actual SDK installation location. Neither of these are correct, so set PKG_CONFIG_LIBDIR to search: - The native sysroot - The host pkg-config's default search path, if present - Falling back to /usr/lib/pkgconfig, if not In an ideal world this would be handled by the generic toolchain script, but that is slightly more involved. [ YOCTO #15007 ] (From OE-Core rev: 9a110453f6b4b2c2d86af4ae20860037796a284d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8f768a3f4c7ff477e994d60800e5a1b83891615a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/menuconfig.py')
0 files changed, 0 insertions, 0 deletions