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>
This commit is contained in:
parent
ee245bd77f
commit
7cf5fcefd3
|
@ -70,7 +70,9 @@ python toolchain_metadata_setup () {
|
|||
|
||||
d = e.data
|
||||
|
||||
if d.getVar('TUNE_PKGARCH', True) in ('i586', 'i686'):
|
||||
l = d.createCopy()
|
||||
l.finalize()
|
||||
if os.path.exists(bb.data.expand('${EXTERNAL_TOOLCHAIN}/bin/gcc', l)):
|
||||
d.setVar('TOOLCHAIN_PATH_ADD', '')
|
||||
}
|
||||
addhandler toolchain_metadata_setup
|
||||
|
@ -81,7 +83,7 @@ python toolchain_setup () {
|
|||
|
||||
d = e.data
|
||||
|
||||
if d.getVar('TUNE_PKGARCH', True) in ('i586', 'i686'):
|
||||
if not d.getVar('TOOLCHAIN_PATH_ADD', True):
|
||||
populate_toolchain_links(d)
|
||||
}
|
||||
addhandler toolchain_setup
|
||||
|
|
Loading…
Reference in New Issue