]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
external-toolchain: add support for recent Linaro toolchains
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 7 May 2012 13:02:19 +0000 (15:02 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 7 May 2012 15:08:37 +0000 (17:08 +0200)
commite1f0804cc11706648f33a96d68e613b8d6593db3
treedaec3d4269a8ea242ddd0b061415bcc54d1c758f
parent025eb2fb908cb3c500e69225832b59b5ffb08cf5
external-toolchain: add support for recent Linaro toolchains

Starting from 2012.03, the Linaro toolchains have separated the GCC
support libraries (libstdc++, libgcc_s) from the sysroot itself. So we
no longer have the case where all libraries are inside the sysroot, as
we had for all the previously supported toolchains.

Therefore, we add some logic to detect if such a separate directory is
used for GCC support libraries, and if it's the case, we make sure
that we take into account this directory when creating our own
sysroot, and when copying libraries to the target filesystem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/helpers.mk
toolchain/toolchain-external/ext-tool.mk