diff options
Diffstat (limited to 'meta/conf')
| -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 |
