gnu: linux: Allow kconfig options to be strings
* gnu/packages/linux.scm (config->string): add a clause handling strings Allows for the declarative configuration of kconfig options which accept strings, such as CONFIG_MODULE_SIG_KEY. I've enclosed the given string in quotes, but don't do any kind of escaping. See the kernel mailing list for the current state of escaped strings upstream: https://patchwork.kernel.org/project/linux-kbuild/patch/1431003982-992-1-git-send-email-sr@denx.de/ Apologies to those with double-quotes or backslashes in their CONFIG_SYSTEM_*_KEYS. Signed-off-by: antlers <autumnalantlers@gmail.com> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
3e599b99da
commit
0748d3febd
@ -767,7 +767,9 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
||||
((option . #t)
|
||||
(string-append option "=y"))
|
||||
((option . #f)
|
||||
(string-append option "=n")))
|
||||
(string-append option "=n"))
|
||||
((option . string)
|
||||
(string-append option "=\"" string "\"")))
|
||||
options)
|
||||
"\n"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user