[LTP] [PATCH] lib: Add library function for parsing kernel config
Cyril Hrubis
chrubis@suse.cz
Fri Nov 16 14:57:47 CET 2018
Hi!
> This is good. Just a comment on the proposed syntax and options.
> Fuego uses NEED_KCONFIG (upper-case because it's a shell global variable),
> and 0-day uses need_kconfig.
>
> There are a few slight differences in syntax between different systems.
> (I'm making no judgements, just noting the differences).
>
> Fuego and 0day also support a string including the option value, such
> as:
> CONFIG_PRINTK=y
> CONFIG_LOCKDEP_SUPPORT=n
> CONFIG_CAN=m
I guess that it makes sense to support this as well.
I can easily switch to verbatim match if the option I'm looking for
contains '='.
> See https://elinux.org/Test_Dependencies
>
> where I've started collecting some of these different syntaxes.
Thanks for the pointer, I will look into that.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list