kconfig: Introduce cc-option-str
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | kconfig: Add "def_string", "def_int" and "def_hex"Documentation/ scripts/ scripts/ +7 more | +90 | 3 replies | |
| 2/3 | kconfig: Replace "cc-option-bit" with "cc-option-str"scripts/ | +13 | 1 reply | |
| 3/3 | kconfig: Add "ld-option-str"scripts/ | +11 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Julian Braha |
|---|---|
| 1/3 | T-b R-b |
| 2/3 | T-b R-b |
| 3/3 | T-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] kconfig: Introduce cc-option-str
Hi,
While reviewing the recent build speedup series[1], it became clear that we needed a general solution in kconfig to avoid repeating detected toolchain options. Implement cc-option-str and ld-option-str, and while at it, create "def_string" and friends to match "def_bool".
-Kees
[1] https://lore.kernel.org/all/20260918054058.GA384222@ax162/
Kees Cook (3):
kconfig: Add "def_string", "def_int" and "def_hex"
kconfig: Replace "cc-option-bit" with "cc-option-str"
kconfig: Add "ld-option-str"
scripts/kconfig/tests/def_type/Kconfig | 28 ++++++++++++++++++ scripts/kconfig/tests/def_type/guard_n.config | 1 + scripts/kconfig/tests/def_type/guard_y.config | 1 + scripts/kconfig/tests/def_type/__init__.py | 18 ++++++++++++ .../kconfig/tests/def_type/expected_guard_n | 9 ++++++ .../kconfig/tests/def_type/expected_guard_y | 11 +++++++ scripts/Kconfig.include | 29 +++++++++++++++---- scripts/kconfig/kconfig-sym-check.pl | 2 +- scripts/kconfig/lexer.l | 3 ++ scripts/kconfig/parser.y | 6 ++++ Documentation/kbuild/kconfig-language.rst | 13 ++++++++- 11 files changed, 114 insertions(+), 7 deletions(-) create mode 100644 scripts/kconfig/tests/def_type/Kconfig create mode 100644 scripts/kconfig/tests/def_type/guard_n.config create mode 100644 scripts/kconfig/tests/def_type/guard_y.config create mode 100644 scripts/kconfig/tests/def_type/__init__.py create mode 100644 scripts/kconfig/tests/def_type/expected_guard_n create mode 100644 scripts/kconfig/tests/def_type/expected_guard_y
Signature · 1 line
2.34.1