doc: kconfig: Get rid of some duplicate path separators in output

Paths like soc//arm/... showed up in the output due to the extra '/' at
the end of the SOC_DIR value. Remove the redundant '/' in SOC_DIR and
other environment variables that get referenced in the Kconfig files.

Kconfiglib never normalizes paths, because it avoids some gotchas, e.g.
with symlinks.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-10-21 20:20:18 +02:00 committed by Carles Cufí
parent 1b5ec6a589
commit 82330172ac
1 changed files with 3 additions and 3 deletions

View File

@ -196,10 +196,10 @@ add_custom_target(
PYTHONPATH="${ZEPHYR_BASE}/scripts/kconfig${SEP}$ENV{PYTHONPATH}"
ZEPHYR_BASE=${ZEPHYR_BASE}
srctree=${ZEPHYR_BASE}
BOARD_DIR=boards/*/*/
BOARD_DIR=boards/*/*
ARCH=*
ARCH_DIR=arch/
SOC_DIR=soc/
ARCH_DIR=arch
SOC_DIR=soc
CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}
KCONFIG_WARN_UNDEF=y
KCONFIG_TURBO_MODE=${KCONFIG_TURBO_MODE}