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:
Antoine Fontaine 2020-04-13 11:53:17 +02:00
parent 075706b26e
commit e36e160167
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def is_set(config, option):
Check, whether a boolean or tristate option is enabled
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):