buildrootschalter/toolchain
Yann E. MORIN fb5cbf3198 toolchain: fix installing gconv libs with multi-arch toolchain
For a multi-arch toolchain, gconv modules are in a sub-directory named
after the machine gcc targets. This is the case, for example, for the
Linaro ARM 2014.09 toolchain, which has the gconv modules in (relative
to the sysroot):
    /usr/lib/arm-linux-gnueabihf/gconv

while the Sourcery CodeBench ARM 2014.05 (non-multi-arch) has them in:
    /usr/lib/gconv

So, to catter for both cases, search both paths. We want to favour the
machine-specific gconv modules over potentially existing "generic" ones,
so we first search that (if it exists) and fallback to looking in the
generic location.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-22 22:30:34 +02:00
..
toolchain toolchain/toolchain-buildroot: migrate to virtual package infrastructure 2014-06-14 19:10:13 +02:00
toolchain-buildroot toolchain: enable musl for sh 2015-03-25 20:01:55 +01:00
toolchain-external toolchain-external: install libatomic 2015-04-19 14:40:05 +02:00
Config.in toolchain: remove LARGEFILE selects 2015-04-01 22:42:47 +02:00
helpers.mk toolchain/external: do not accept distro-class toolchains 2015-04-04 17:02:46 +02:00
toolchain-common.in toolchain: add 4.0.x choice for headers 2015-04-13 22:14:42 +02:00
toolchain.mk toolchain: fix installing gconv libs with multi-arch toolchain 2015-04-22 22:30:34 +02:00