diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-02-05 11:58:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-05 15:22:45 +0000 |
commit | 898a8094b1dcffc5ee54dbb612477c9bb3b8fd4b (patch) | |
tree | 5e1f3a952b8cccf51b7a4363ca9f8b53c72d74de /meta/recipes-devtools/gcc | |
parent | 7e9cb437b1b720e656f4a33f73c07c5dc7356a2c (diff) | |
download | poky-898a8094b1dcffc5ee54dbb612477c9bb3b8fd4b.tar.gz |
libgcc: Disable multilib install for nativesdk
Fixes errors when building SDK for multilibbed enabled
architectures.
[YOCTO #3832]
(From OE-Core rev: 09934f38df057e12af7d14791f7ab752e81093db)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.7.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index 2dc81f0543..991f37c21c 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | require gcc-common.inc | 1 | require gcc-common.inc |
2 | 2 | ||
3 | PR = "r16" | 3 | PR = "r17" |
4 | 4 | ||
5 | # Third digit in PV should be incremented after a minor release | 5 | # Third digit in PV should be incremented after a minor release |
6 | # happens from this branch on gcc e.g. currently its 4.7.1 | 6 | # happens from this branch on gcc e.g. currently its 4.7.1 |
diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb index 550a3c9c9d..47669a210c 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.7.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb | |||
@@ -86,7 +86,7 @@ python do_multilib_install() { | |||
86 | import re | 86 | import re |
87 | 87 | ||
88 | multilibs = d.getVar('MULTILIB_VARIANTS', True) | 88 | multilibs = d.getVar('MULTILIB_VARIANTS', True) |
89 | if not multilibs: | 89 | if not multilibs or bb.data.inherits_class('nativesdk', d): |
90 | return | 90 | return |
91 | 91 | ||
92 | binv = d.getVar('BINV', True) | 92 | binv = d.getVar('BINV', True) |