kumquat-buildroot/toolchain
Bai Yingjie bacf215719 toolchain-external: improve lib subdirectory matching
The toolchain from the Cavium Networks Octeon SDK provides a sysroot
with library directories lib32, lib32-fp, lib64 and lib64-fp. The -fp
variants are used for processors with hardware floating point unit, such
as the Octeon III variants.

When specifying -march=octeon3 in BR2_TARGET_OPTIMIZATION, the toolchain
will use lib32-fp, but currently Buildroot does not accept that pattern.

This patch improves the matching by accepting lib(32|64)?([^/]*)? as lib
directory name.

Signed-off-by: Bai Yingjie <byj.tea@gmail.com>
[ThomasDS: update commit message]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[Thomas: add comment above the function being modified to illustrate
the various cases we try to handle.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-13 17:26:22 +02:00
..
toolchain toolchain/toolchain-buildroot: migrate to virtual package infrastructure 2014-06-14 19:10:13 +02:00
toolchain-buildroot aarch64: add big endian(aarch64_be) support 2015-07-12 18:32:37 +02:00
toolchain-external toolchain-external: improve lib subdirectory matching 2015-07-13 17:26:22 +02:00
Config.in toolchain: make IPv6 mandatory for external toolchains 2015-04-22 22:59:31 +02:00
helpers.mk toolchain/helpers.mk: use --chmod on rsync 2015-07-13 17:13:15 +02:00
toolchain-common.in toolchain: add 4.1.x choice for headers 2015-06-22 18:19:34 +02:00
toolchain.mk toolchain: fix installing gconv libs with multi-arch toolchain 2015-04-22 22:30:34 +02:00