All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/4] cross.bbclass: override MULTIMACH_TARGET_SYS
Date: Wed,  1 Jul 2015 17:02:21 +0300	[thread overview]
Message-ID: <1435759342-5312-4-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1435759342-5312-1-git-send-email-dbaryshkov@gmail.com>

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>
---
 meta/classes/cross.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 28fd211..5ee32b2 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 = ""
 
-- 
1.9.1



  parent reply	other threads:[~2015-07-01 14:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 14:02 [PATCH 0/4] Fix builds for MIPS64 N32 Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 1/4] arch-mips.inc: don't override TRANSLATED_TARGET_ARCH Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 2/4] packagegroups-cross-canadian: " Dmitry Eremin-Solenikov
2015-07-01 14:02 ` Dmitry Eremin-Solenikov [this message]
2015-07-01 14:02 ` [PATCH 4/4] glibc: don't override TUNE_CCARGS for MIPS Dmitry Eremin-Solenikov
2015-08-15 19:34   ` Khem Raj
2015-08-15 23:15     ` Dmitry Eremin-Solenikov
2015-08-16  0:29       ` Khem Raj
2015-08-17 15:30         ` Dmitry Eremin-Solenikov
2015-08-18 15:05           ` Dmitry Eremin-Solenikov
2015-07-08 12:00 ` [PATCH 0/4] Fix builds for MIPS64 N32 Dmitry Eremin-Solenikov
2015-07-08 12:02   ` Richard Purdie
2015-07-08 12:42   ` Mark Hatle
2015-07-20 12:11     ` Dmitry Eremin-Solenikov
2015-07-20 15:47       ` Mark Hatle
2015-07-21  8:23         ` Dmitry Eremin-Solenikov
2015-07-21 14:31           ` Mark Hatle
2015-07-21 15:26             ` Mark Hatle
2015-07-22 15:48               ` Dmitry Eremin-Solenikov
2015-07-28 17:26               ` Dmitry Eremin-Solenikov
2015-07-29 14:58                 ` Mark Hatle
2015-07-29 15:00                   ` Dmitry Eremin-Solenikov
2015-07-31 10:59                     ` Richard Purdie
2015-07-31 15:47                       ` Dmitry Eremin-Solenikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435759342-5312-4-git-send-email-dbaryshkov@gmail.com \
    --to=dbaryshkov@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.