Generate source files for kconfiglib from the build system

This commit is contained in:
Roland Dobai
2019-10-21 13:44:19 +02:00
committed by bot
parent 59d818c387
commit 84d5cc1c17
11 changed files with 135 additions and 31 deletions

View File

@@ -26,8 +26,6 @@ except Exception:
sys.path.insert(0, kconfig_new_dir)
import kconfiglib
import confgen
class SDKConfig:
"""
@@ -49,7 +47,6 @@ class SDKConfig:
OPERATOR = oneOf(["=", "!=", ">", "<", "<=", ">="])
def __init__(self, kconfig_file, sdkconfig_file):
confgen.prepare_source_files()
self.config = kconfiglib.Kconfig(kconfig_file)
self.config.load_config(sdkconfig_file)