diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2015-07-01 17:02:21 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 07:34:05 +0100 |
commit | 05879d6cef190bc824b62722f505d89e19120799 (patch) | |
tree | e341a9871dac8913893955b8edd4ca6f6f7dcd67 /meta | |
parent | 25fad722d72cb479775cb14fd72b94817d6d1ad6 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/cross.bbclass | 2 |
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 | ||
22 | PACKAGE_ARCH = "${BUILD_ARCH}" | 22 | PACKAGE_ARCH = "${BUILD_ARCH}" |
23 | 23 | ||
24 | MULTIMACH_TARGET_SYS = "${PACKAGE_ARCH}${BUILD_VENDOR}-${BUILD_OS}" | ||
25 | |||
24 | export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig" | 26 | export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig" |
25 | export PKG_CONFIG_SYSROOT_DIR = "" | 27 | export PKG_CONFIG_SYSROOT_DIR = "" |
26 | 28 | ||