summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2026-10-07 17:22:21 +0200
committerNathan Chancellor <nathan@kernel.org>2026-10-08 18:29:56 +0200
commitbd6a4ec4d89c8f3ca0a2f276802242a0c57c3693 (patch)
tree4cf5775131cdb2d394736c662711982455ba5316 /tools/lib/python/kdoc/parse_data_structs.py
parenta98db7418797bc27bef53c861b97ac748f598414 (diff)
downloadlinux-next-bd6a4ec4d89c8f3ca0a2f276802242a0c57c3693.tar.gz
linux-next-bd6a4ec4d89c8f3ca0a2f276802242a0c57c3693.zip
scripts/Kconfig.toolchain: Drop compiler symbols from dependencies
Commit 454e00cf8ee5 ("kbuild: avoid re-running compiler and linker probes") moved many cc-option calls from the main Makefile into Kconfig. In the process, code such as ifdef CONFIG_CC_IS_GCC KBUILD_CFLAGS += $(call cc-option,-foo) endif was converted into Kconfig as config CC_OPT_FOO def_string "$(cc-option-str,-foo)" if CC_IS_GCC The 'if CC_IS_GCC' is generally unnecessary because it does not prevent the cc-option-str call from running (which is the primary reason the ifdef guards exists in the Makefile), as cc-option-str and the like are run before Kconfig even parses the dependency. It only impacts the symbol's visibility, which does not really matter in the general case, so remove these dependencies. Reviewed-by: Nicolas Schier <nsc@kernel.org> Link: https://patch.msgid.link/20261007-scripts-kconfig-toolchain-improvements-v1-1-1e524178da11@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions