zephyr/scripts/kconfig
Ulf Magnusson 953cc12464 kconfiglib: Fix paths for gsource'd files in the documentation
$srctree was changed to an absolute path when the documentation building
was switched over to CMake, which uncovered a bug in Kconfiglib that
caused symbols in gsource'd files to show up with absolute paths in the
auto-generated Kconfig documentation.

This commit adds upstream commit ac692af07a123 ("Fix absolute $srctree
prefixes showing up on gsource'd files"), which fixes it.

Upstream commit message:

  When using gsource with $srctree set to an absolute path, the $srctree
  prefix would show up in MenuNode.filename, trickling its way into e.g.
  generated documentation.

  This was due to a broken test: os.path.isabs() was checked after
  joining the pattern with $srctree, making it mistake an absolute
  $srctree for an absolute path in the Kconfig file.

  Fix the test.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-14 08:17:58 +02:00
..
checkconfig.py kconfig: Mention that checkconfig.py lacks Kconfiglib 2 support 2018-05-07 21:53:37 +02:00
diffconfig
kconfig.py kconfiglib: Add preprocessor and two warnings 2018-07-11 17:02:22 +02:00
kconfiglib.py kconfiglib: Fix paths for gsource'd files in the documentation 2018-07-14 08:17:58 +02:00
menuconfig.py menuconfig: Allow searches from the info dialog and vice versa 2018-06-18 14:41:53 -04:00