diff options
| author | Kees Cook <kees@kernel.org> | 2026-09-18 17:59:27 -0700 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-09-24 11:37:05 -0400 |
| commit | cfcc465018818fb4f08148a28adb5b0cb40a9ec1 (patch) | |
| tree | 0a74916617a2364cc2ad8abde50f9a75e082b3ee /tools/lib/python/kdoc/python_version.py | |
| parent | 889a621272f9b7e19f35efa3d836347b4e209290 (diff) | |
| download | linux-next-cfcc465018818fb4f08148a28adb5b0cb40a9ec1.tar.gz linux-next-cfcc465018818fb4f08148a28adb5b0cb40a9ec1.zip | |
kconfig: Add "ld-option-str"
Add the linker counterpart to $(cc-option-str), sharing a $(ld-probe)
with $(ld-option) the way the compiler macros share $(cc-probe). Like
$(cc-option-str), it can now be used as:
config LD_OPT_FOO
def_string "$(ld-option-str,--new-option,--old-option)"
An omitted fallback expands to the empty string.
Build tested ARCH=x86_64 defconfig with GCC 16.2.0, and checked against
GNU ld 2.47.
Assisted-by: LLM
Signed-off-by: Kees Cook <kees@kernel.org>
Tested-by: Julian Braha <julianbraha@gmail.com>
Reviewed-by: Julian Braha <julianbraha@gmail.com>
Link: https://patch.msgid.link/20260919005929.4077729-3-kees@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
