summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2015-07-01 17:02:21 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 07:34:05 +0100
commit05879d6cef190bc824b62722f505d89e19120799 (patch)
treee341a9871dac8913893955b8edd4ca6f6f7dcd67 /meta/classes/cross.bbclass
parent25fad722d72cb479775cb14fd72b94817d6d1ad6 (diff)
downloadpoky-05879d6cef190bc824b62722f505d89e19120799.tar.gz
cross.bbclass: override MULTIMACH_TARGET_SYS
Cross packages are built for BUILD_VENDOR/BUILD_OS, rather than TARGET_VENDOR/TARGET_OS. E.g. there is no point in hardcoding the target's LIBCEXTENSION and ABIEXTENSION into the STAMPDIR/WORKDIR variables (set using MULTIMACH_TARGET_SYS). (From OE-Core rev: 29086fa030d9283261c5840b7ed8227fb419ac3f) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 752a500449..3eab5b907b 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -21,6 +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
24MULTIMACH_TARGET_SYS = "${PACKAGE_ARCH}${BUILD_VENDOR}-${BUILD_OS}"
25
24export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig" 26export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig"
25export PKG_CONFIG_SYSROOT_DIR = "" 27export PKG_CONFIG_SYSROOT_DIR = ""
26 28