zephyr/arch/riscv32/soc/riscv-privilege
Ulf Magnusson 547ed9b563 kconfig: Make 'source' non-globbing and use 'gsource'
Until now, Zephyr has used a patched Kconfiglib that turns 'source' into
a globbing source (by replacing 'source' with 'gsource' at the token
level). There's two problems with this:

  - The patch needs to be maintained separately

  - Misspelled filenames are silently ignored, as they look like glob
    patterns that don't match anything

Fix it as follows:

  1. Replace all 'source' statements that use wildcards with 'gsource'

  2. Remove the custom Kconfiglib patch so that 'source' no longer globs

The sed pattern '/source.*[*?]/s/source/gsource/' was run over all
Kconfig* files to do the replacement.

source's that use environment variables that might contain glob patterns
were manually changed to gsource.

Building the docs in doc/ is a good test, as doc/Makefile deliberately
sets the environment variables to glob up as many Kconfig files as
possible.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
2018-05-08 11:14:12 +02:00
..
common kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
fe310 arch: riscv32: fe310: Always-On domain adress definition 2018-04-05 08:08:08 -05:00
riscv32-qemu kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
Kconfig kconfig: Make 'source' non-globbing and use 'gsource' 2018-05-08 11:14:12 +02:00
Kconfig.defconfig kconfig: Make 'source' non-globbing and use 'gsource' 2018-05-08 11:14:12 +02:00
Kconfig.soc kconfig: Make 'source' non-globbing and use 'gsource' 2018-05-08 11:14:12 +02:00