openwrt/config
Daniel Golle 501ef81040 config: select KERNEL_WERROR if building with default GCC version
At the moment we have to manually follow the default GCC version
also in config/Config-kernel.in. This tends to be forgotten at GCC
version bumps (just happened when switching from version 12 to 13).
Instead, introduce a hidden Kconfig symbol which implies KERNEL_WERROR
in toolchain/gcc/Config.in where it is visible for developers changing
the default version.

Also remove the explicit default on BUILDBOT to avoid a circular
dependency and also because buildbots anyway implicitly always select
the default GCC version.

Reference: https://github.com/openwrt/openwrt/pull/15064
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-08 01:40:15 +01:00
..
check-hostcxx.sh config: add a knob to use the mold linker for packages 2023-07-04 20:25:40 +02:00
check-uname.sh build: add HOST_OS_LINUX and HOST_OS_MACOS config symbols 2021-11-01 16:37:52 +01:00
Config-build.in build: add option for building with stack-protector-all 2024-01-19 21:27:14 +01:00
Config-devel.in treewide: strip useless default n Kconfig lines 2023-02-03 12:50:15 +01:00
Config-images.in config: Enable ext4 journaling by default. 2024-03-29 17:49:53 +01:00
Config-kernel.in config: select KERNEL_WERROR if building with default GCC version 2024-04-08 01:40:15 +01:00