pmb.parse.kconfig: check for end of line in "CONFIG_…=y" (MR 1916)
it's a nitpick, but now `is_set` won't return true for (e.g.) CONFIG_XYZ=marmelade.
This commit is contained in:
parent
075706b26e
commit
e36e160167
|
@ -16,7 +16,7 @@ def is_set(config, option):
|
||||||
Check, whether a boolean or tristate option is enabled
|
Check, whether a boolean or tristate option is enabled
|
||||||
either as builtin or module.
|
either as builtin or module.
|
||||||
"""
|
"""
|
||||||
return re.search("^CONFIG_" + option + "=[ym]", config, re.M) is not None
|
return re.search("^CONFIG_" + option + "=[ym]$", config, re.M) is not None
|
||||||
|
|
||||||
|
|
||||||
def check_config(config_path, config_path_pretty, config_arch, pkgver, details=False):
|
def check_config(config_path, config_path_pretty, config_arch, pkgver, details=False):
|
||||||
|
|
Loading…
Reference in New Issue