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.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index b7d33f5e32..a8f3b601c2 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -19,6 +19,8 @@ HOST_AS_ARCH = "${BUILD_AS_ARCH}"
19 19
20STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}" 20STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
21 21
22PACKAGE_ARCH = "${BUILD_ARCH}"
23
22export PKG_CONFIG_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig" 24export PKG_CONFIG_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig"
23export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" 25export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"
24 26
@@ -43,7 +45,7 @@ target_libdir = "${target_exec_prefix}/${baselib}"
43target_includedir := "${includedir}" 45target_includedir := "${includedir}"
44 46
45# Overrides for paths 47# Overrides for paths
46CROSS_TARGET_SYS_DIR = "${MULTIMACH_TARGET_SYS}" 48CROSS_TARGET_SYS_DIR = "${TARGET_SYS}"
47prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 49prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
48base_prefix = "${STAGING_DIR_NATIVE}" 50base_prefix = "${STAGING_DIR_NATIVE}"
49exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 51exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"