diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2015-07-01 17:02:21 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 15:15:13 +0100 |
commit | 29086fa030d9283261c5840b7ed8227fb419ac3f (patch) | |
tree | 6ff6a48de5e72c35fdedc6208d0afa5210eb5228 /meta/classes | |
parent | e021a14ad774a0ede259a2023d612593caaee5c5 (diff) | |
download | openembedded-core-29086fa030d9283261c5840b7ed8227fb419ac3f.tar.gz openembedded-core-29086fa030d9283261c5840b7ed8227fb419ac3f.tar.bz2 openembedded-core-29086fa030d9283261c5840b7ed8227fb419ac3f.zip |
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).
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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}" PACKAGE_ARCH = "${BUILD_ARCH}" +MULTIMACH_TARGET_SYS = "${PACKAGE_ARCH}${BUILD_VENDOR}-${BUILD_OS}" + export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig" export PKG_CONFIG_SYSROOT_DIR = "" |