summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 6d7c7cd463..2564505d6a 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -20,6 +20,11 @@ HOST_OS = "${BUILD_OS}"
20HOST_PREFIX = "${BUILD_PREFIX}" 20HOST_PREFIX = "${BUILD_PREFIX}"
21HOST_CC_ARCH = "${BUILD_CC_ARCH}" 21HOST_CC_ARCH = "${BUILD_CC_ARCH}"
22 22
23STAGING_DIR_HOST = "${STAGING_DIR}/${BASEPKG_HOST_SYS}"
24
25export PKG_CONFIG_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig"
26export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
27
23CPPFLAGS = "${BUILD_CPPFLAGS}" 28CPPFLAGS = "${BUILD_CPPFLAGS}"
24CFLAGS = "${BUILD_CFLAGS}" 29CFLAGS = "${BUILD_CFLAGS}"
25CXXFLAGS = "${BUILD_CFLAGS}" 30CXXFLAGS = "${BUILD_CFLAGS}"