summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-01 15:41:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-02 20:46:58 +0100
commit53ea37413dd834f8a39d2e83fef1901c8bac7f40 (patch)
treeab74c5c901cc1972b2c94cf777d7a40f25385c31
parent37c498ad2bda71dc6aa4645e15afc98961221fda (diff)
downloadpoky-53ea37413dd834f8a39d2e83fef1901c8bac7f40.tar.gz
cross: Update PKG_CONFIG variables after recent changes
The PKG_CONFIG definitions should now more closely match those from native.bbclass. We can't use ${libdir} here since it contains the target arch prefix. (From OE-Core rev: aebb71afe54b266de39ec7e1caf84e6426aaafba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cross.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index a8f3b601c2..28fd2116c0 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -21,8 +21,8 @@ STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
21 21
22PACKAGE_ARCH = "${BUILD_ARCH}" 22PACKAGE_ARCH = "${BUILD_ARCH}"
23 23
24export PKG_CONFIG_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig" 24export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig"
25export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" 25export PKG_CONFIG_SYSROOT_DIR = ""
26 26
27CPPFLAGS = "${BUILD_CPPFLAGS}" 27CPPFLAGS = "${BUILD_CPPFLAGS}"
28CFLAGS = "${BUILD_CFLAGS}" 28CFLAGS = "${BUILD_CFLAGS}"