Use kconfiglib from $IDF_PATH/tools/kconfig_new
This commit is contained in:
parent
ca1e5e5bc5
commit
544e9831e8
3 changed files with 18 additions and 3 deletions
|
@ -29,8 +29,12 @@ import tempfile
|
|||
import json
|
||||
|
||||
import gen_kconfig_doc
|
||||
import kconfiglib
|
||||
import pprint
|
||||
try:
|
||||
from . import kconfiglib
|
||||
except Exception:
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
|
||||
import kconfiglib
|
||||
|
||||
__version__ = "0.1"
|
||||
|
||||
|
|
|
@ -6,12 +6,17 @@
|
|||
from __future__ import print_function
|
||||
import argparse
|
||||
import json
|
||||
import kconfiglib
|
||||
import os
|
||||
import sys
|
||||
import confgen
|
||||
from confgen import FatalError, __version__
|
||||
|
||||
try:
|
||||
from . import kconfiglib
|
||||
except Exception:
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
|
||||
import kconfiglib
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description='confserver.py v%s - Config Generation Tool' % __version__, prog=os.path.basename(sys.argv[0]))
|
||||
|
||||
|
|
|
@ -23,6 +23,12 @@
|
|||
from __future__ import print_function
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
try:
|
||||
from . import kconfiglib
|
||||
except Exception:
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
|
||||
import kconfiglib
|
||||
|
||||
# Indentation to be used in the generated file
|
||||
|
|
Loading…
Reference in a new issue