docs: Python 3 Sphinx compatibility
This commit is contained in:
parent
191557db02
commit
04238fa5e5
1 changed files with 3 additions and 3 deletions
|
@ -41,11 +41,11 @@ copy_if_modified('xml/', 'xml_in/')
|
||||||
os.system('python ../gen-dxd.py')
|
os.system('python ../gen-dxd.py')
|
||||||
|
|
||||||
# Generate 'kconfig.inc' file from components' Kconfig files
|
# Generate 'kconfig.inc' file from components' Kconfig files
|
||||||
print "Generating kconfig.inc from kconfig contents"
|
print("Generating kconfig.inc from kconfig contents")
|
||||||
kconfig_inc_path = '{}/inc/kconfig.inc'.format(builddir)
|
kconfig_inc_path = '{}/inc/kconfig.inc'.format(builddir)
|
||||||
temp_sdkconfig_path = '{}/sdkconfig.tmp'.format(builddir)
|
temp_sdkconfig_path = '{}/sdkconfig.tmp'.format(builddir)
|
||||||
kconfigs = subprocess.check_output(["find", "../../components", "-name", "Kconfig"])
|
kconfigs = subprocess.check_output(["find", "../../components", "-name", "Kconfig"]).decode()
|
||||||
kconfig_projbuilds = subprocess.check_output(["find", "../../components", "-name", "Kconfig.projbuild"])
|
kconfig_projbuilds = subprocess.check_output(["find", "../../components", "-name", "Kconfig.projbuild"]).decode()
|
||||||
confgen_args = ["python",
|
confgen_args = ["python",
|
||||||
"../../tools/kconfig_new/confgen.py",
|
"../../tools/kconfig_new/confgen.py",
|
||||||
"--kconfig", "../../Kconfig",
|
"--kconfig", "../../Kconfig",
|
||||||
|
|
Loading…
Reference in a new issue