diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-05-14 11:45:03 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-15 19:06:05 +0100 |
commit | 7cf5fcefd396ceeb16192e56f38e6cc4c568f10e (patch) | |
tree | c30bfff43cd6ef3f163b4502a2af47c52932ac20 /meta | |
parent | ee245bd77ffa931c229c3ceff52f0201a5e913dd (diff) | |
download | poky-7cf5fcefd396ceeb16192e56f38e6cc4c568f10e.tar.gz |
tcmode-external-csl: avoid hardcoding a list of ia32 archs
(From OE-Core rev: 166a3f79d2538f40fb150c90b0f8e28987db8daa)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/tcmode-external-csl.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc index 0a486580e7..deabd490eb 100644 --- a/meta/conf/distro/include/tcmode-external-csl.inc +++ b/meta/conf/distro/include/tcmode-external-csl.inc | |||
@@ -70,7 +70,9 @@ python toolchain_metadata_setup () { | |||
70 | 70 | ||
71 | d = e.data | 71 | d = e.data |
72 | 72 | ||
73 | if d.getVar('TUNE_PKGARCH', True) in ('i586', 'i686'): | 73 | l = d.createCopy() |
74 | l.finalize() | ||
75 | if os.path.exists(bb.data.expand('${EXTERNAL_TOOLCHAIN}/bin/gcc', l)): | ||
74 | d.setVar('TOOLCHAIN_PATH_ADD', '') | 76 | d.setVar('TOOLCHAIN_PATH_ADD', '') |
75 | } | 77 | } |
76 | addhandler toolchain_metadata_setup | 78 | addhandler toolchain_metadata_setup |
@@ -81,7 +83,7 @@ python toolchain_setup () { | |||
81 | 83 | ||
82 | d = e.data | 84 | d = e.data |
83 | 85 | ||
84 | if d.getVar('TUNE_PKGARCH', True) in ('i586', 'i686'): | 86 | if not d.getVar('TOOLCHAIN_PATH_ADD', True): |
85 | populate_toolchain_links(d) | 87 | populate_toolchain_links(d) |
86 | } | 88 | } |
87 | addhandler toolchain_setup | 89 | addhandler toolchain_setup |