summaryrefslogtreecommitdiff
path: root/meta/classes/nativesdk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-06 12:30:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-06 23:08:56 +0000
commit46c48c26ab1916e2dfb841d74a0f2a58d8b2b870 (patch)
tree30d352f7c5a9efe922f9d245934c936efff36324 /meta/classes/nativesdk.bbclass
parent20031e167f772ce2eb3ba4b93adb82c1f4805d42 (diff)
downloadopenembedded-core-46c48c26ab1916e2dfb841d74a0f2a58d8b2b870.tar.gz
openembedded-core-46c48c26ab1916e2dfb841d74a0f2a58d8b2b870.tar.bz2
openembedded-core-46c48c26ab1916e2dfb841d74a0f2a58d8b2b870.zip
bitbake.conf/native/nativesdk: Set PKG_CONFIG_SYSTEM_ at top level
Setting PKG_CONFIG_SYSTEM_{HEADERS/INCLUDE}_PATH for nativesdk isn't enough, we also need to deal with multlib cases where libdir from pkg-config-native isn't correct. Native builds are about the only case where this variable shouldn't be set. Therefore move the code from nativesdk to bitbake.conf and unexport it in the native case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
-rw-r--r--meta/classes/nativesdk.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 44154d99a7..f74da6267f 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -60,8 +60,6 @@ sbindir = "${bindir}"
export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
-export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}"
-export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}"
python nativesdk_virtclass_handler () {
pn = e.data.getVar("PN", True)