toolchain-external: hook for Codescape toolchain side-by-side layout
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Tue, 10 May 2016 14:01:38 +0000 (15:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Jun 2016 21:41:36 +0000 (23:41 +0200)
commit2d3625deae809b100d33a36e6ddd67affe26b721
tree2ba2616df3cc3abc87b62f98fca09502d3012ab5
parent7b6cfca13066f67ba2f41e4c76d0179d1cf0b349
toolchain-external: hook for Codescape toolchain side-by-side layout

The Codescape toolchain uses a sysroot layout that places them
side-by-side instead of nested like multilibs. A symlink is needed much
like for the nested sysroots which are handled in copy_toolchain_sysroot
but there is not enough information in there to determine whether the
sysroot layout was nested or side-by-side.

For the above reason plus the fact that this is the only toolchain
needing this, better to handle that symlink creation using a hook which
will be executed only when that toolchain is selected.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/toolchain-external.mk