kumquat-buildroot/toolchain
Yann E. MORIN 4a5f878946 toolchain/external: better check for gcc-5
gcc will always report a three-digit version sting, like 4.9.3 or 5.1.0.

For gcc before 5, we want to check the first two digits, while starting
with gcc 5, we are only concerned about the first digit.

So, change our matching code to test for the leading part of the version
string, up to the first dot after as-many version digit we're interested
in.

Note: we're adding the dot in the .mk code rather than in the Kconfig
symbol, because it seemed cleaner to do so.

Reported-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-09 16:58:55 +02:00
..
toolchain
toolchain-buildroot aarch64: add big endian(aarch64_be) support 2015-07-12 18:32:37 +02:00
toolchain-external toolchain-external: add support for gcc version dependency 2015-08-05 12:11:20 +02:00
Config.in
helpers.mk toolchain/external: better check for gcc-5 2015-08-09 16:58:55 +02:00
toolchain-common.in toolchain: add common gcc version hidden config options 2015-08-05 10:40:19 +02:00
toolchain.mk