openwrt/toolchain/gcc
Christian Marangi 28420cd67b
scripts/ext-toolchain: implement external GCC version detection
Some package may needs to enable compatibility option based on the GCC
version.

Currently the GCC version is set based on the default value and doesn't
actually reflect the real value provided by the external toolchain if
used.

Fix this by correctly detecting the GCC version in the external
toolchain and set the correct value in CONFIG_GCC_VERSION.

A new option is added in menuconfig to manually set the GCC version if
needed.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-20 16:13:31 +02:00
..
files do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in 2009-11-19 17:23:31 +00:00
final toolchain/gcc: use explicit configure args 2023-02-09 02:53:35 +01:00
initial toolchain: remove installing twice in the "initial" subdir 2023-02-19 19:44:39 +01:00
minimal toolchain: skip gcc/minimal for musl 2016-07-07 15:13:40 +02:00
patches-11.x toolchain: gcc: backport inline subword atomic support for riscv 2023-06-11 17:09:06 +02:00
patches-12.x toolchain: gcc: backport inline subword atomic support for riscv 2023-06-11 17:09:06 +02:00
patches-13.x toolchain: gcc: updat to 13.2 2023-07-30 13:06:56 +02:00
common.mk toolchain: assign PKG_CPE_ID 2023-09-19 20:22:59 +02:00
Config.in toolchain: gcc: add support for GCC 13 2023-05-05 15:46:37 +02:00
Config.version scripts/ext-toolchain: implement external GCC version detection 2023-10-20 16:13:31 +02:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00