docs: Don't show Kconfig.projbuild from MQTT submodule examples in docs

This commit is contained in:
Angus Gratton 2018-09-21 11:05:16 +10:00 committed by Angus Gratton
parent 9421f6611f
commit 688807d5f6

View file

@ -60,8 +60,14 @@ call_with_python('../gen-dxd.py')
print("Generating kconfig.inc from kconfig contents")
kconfig_inc_path = '{}/inc/kconfig.inc'.format(builddir)
temp_sdkconfig_path = '{}/sdkconfig.tmp'.format(builddir)
kconfigs = subprocess.check_output(["find", "../../components", "-name", "Kconfig"]).decode()
kconfig_projbuilds = subprocess.check_output(["find", "../../components", "-name", "Kconfig.projbuild"]).decode()
# note: trimming "examples" dir from KConfig/KConfig.projbuild as MQTT submodule
# has its own examples in the submodule.
kconfigs = subprocess.check_output(["find", "../../components",
"-name", "examples", "-prune",
"-o", "-name", "Kconfig", "-print"]).decode()
kconfig_projbuilds = subprocess.check_output(["find", "../../components",
"-name", "examples", "-prune",
"-o", "-name", "Kconfig.projbuild", "-print"]).decode()
confgen_args = [sys.executable,
"../../tools/kconfig_new/confgen.py",
"--kconfig", "../../Kconfig",