openwrt/toolchain
Christian Marangi 0e161968a7
toolchain/wrapper: fill and reference info.mk in staging_dir ext toolchain
Currently when external toolchain is used, a info.mk is created (with
to-be-filled values) but is never actually filled with real values and
is never actually used in rules.mk.

This info.mk is used down the code with special packages like libgcc to
reference info like gcc version and package special library.

To mimic what is done with internal toolchain, add the include in
rules.mk for info.mk also for external library and in fix
toolchain/wrapper to fill the staging_dir info.mk.

The logic is to check if the external toolchain provide an info.mk and
if it doesn't we at least fill the GCC_VERSION with the value set in the
.config file.

With this special library like libgcc correctly reference and have set the
GCC_VERSION variable.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-21 17:59:17 +02:00
..
binutils toolchain: binutils: backport patch to fix mipsel_24kc_24kf 2024-04-02 21:42:23 +02:00
fortify-headers fortify-headers: add __extension__ mark to strings.h 2023-07-12 20:24:56 +02:00
gcc config: fix CONFIG_GDB appearing in main menuconfig menu 2024-04-09 19:30:41 +02:00
gdb toolchain/gdb: add pthread to CFLAGS/LDFLAGS for zstd 2023-12-19 10:54:19 +01:00
glibc toolchain: glibc: Update glibc 2.37 to recent HEAD 2024-02-10 12:52:09 +01:00
kernel-headers toolchain: assign PKG_CPE_ID 2023-09-19 20:22:59 +02:00
mold toolchain: add mold as additional linker 2023-07-04 20:25:41 +02:00
musl toolchain/musl: Update to 1.2.5 2024-04-14 17:38:09 +02:00
nasm toolchain: assign PKG_CPE_ID 2023-09-19 20:22:59 +02:00
wrapper toolchain/wrapper: fill and reference info.mk in staging_dir ext toolchain 2024-04-21 17:59:17 +02:00
Config.in scripts/ext-toolchain: implement external GCC version detection 2023-10-20 16:13:31 +02:00
Makefile toolchain: add mold as additional linker 2023-07-04 20:25:41 +02:00
build_version toolchain: add a version that can be bumped to force toolchain/target rebuild 2021-11-16 22:02:45 +01:00
info.mk uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) 2009-04-24 02:07:24 +00:00