mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/use_local_kconfiglib_v3.1' into 'release/v3.1'
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.1) See merge request espressif/esp-idf!6082
This commit is contained in:
commit
06a453e18a
@ -28,8 +28,12 @@ import tempfile
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
import gen_kconfig_doc
|
import gen_kconfig_doc
|
||||||
import kconfiglib
|
|
||||||
import pprint
|
import pprint
|
||||||
|
try:
|
||||||
|
from . import kconfiglib
|
||||||
|
except Exception:
|
||||||
|
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
|
||||||
|
import kconfiglib
|
||||||
|
|
||||||
__version__ = "0.1"
|
__version__ = "0.1"
|
||||||
|
|
||||||
|
@ -6,12 +6,17 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import argparse
|
import argparse
|
||||||
import json
|
import json
|
||||||
import kconfiglib
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import confgen
|
import confgen
|
||||||
from confgen import FatalError, __version__
|
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():
|
def main():
|
||||||
parser = argparse.ArgumentParser(description='confserver.py v%s - Config Generation Tool' % __version__, prog=os.path.basename(sys.argv[0]))
|
parser = argparse.ArgumentParser(description='confserver.py v%s - Config Generation Tool' % __version__, prog=os.path.basename(sys.argv[0]))
|
||||||
|
|
||||||
|
@ -21,7 +21,13 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
import os
|
import os
|
||||||
import kconfiglib
|
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
|
# Indentation to be used in the generated file
|
||||||
INDENT = ' '
|
INDENT = ' '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user