zephyr/scripts
Ulf Magnusson ac059db362 kconfiglib: Give more helpful hints for missing files
Sigvart pointed out that the error message for missing Kconfig files
(which rambles on a lot about $srctree) can easily kick people off in
the wrong direction.

Update Kconfiglib to upstream revision 9f26eb3ae3 to add the following
commit, which makes the error message point to stuff that's more likely
to be the problem:

    Give more helpful error messages when files are missing

    The current error message talks a lot about $srctree, but $srctree
    is seldom the culprit in practice. More common is 'source
    "$(SOME_ENV_VAR)/foo"`, where SOME_ENV_VAR hasn't been set.

    Include the complete 'source ...' line for missing Kconfig files,
    and mention unset environment variables as a hint. Only mention
    $srctree briefly.

    Also shorten the message when a .config can't be a found a bit. This
    message would usually only be seen when working directly with the
    library.

Example error:

    Kconfig:7: '/Kconfig' not found (in 'source
    "$(SOME_ENV_VAR)/Kconfig"'). Check that environment variables are
    set correctly (e.g. $srctree, which is unset or blank). Also note
    that unset environment variables expand to the empty string.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-06 12:07:50 +01:00
..
checkpatch
ci ci: add option to specify custom range 2019-03-04 14:08:12 -05:00
coccinelle coccinelle: Updating ignore_return to support memcpy 2018-12-19 14:37:25 +01:00
cross_compiler
dts scripts/dts: Remove dead 'aliases' check in insert_defs() 2019-02-27 10:02:35 -06:00
footprint scripts: size_report: Fix output of header break line 2019-02-28 09:23:16 -08:00
gitlint scripts: gitlint: Consistent case for Signed-off-by 2019-02-19 12:12:42 -05:00
kconfig kconfiglib: Give more helpful hints for missing files 2019-03-06 12:07:50 +01:00
sanity_chk sanitycheck: Handle data over UART from gcov 2019-01-29 15:03:38 -05:00
support scripts: make runner a west subpackage 2018-05-19 07:01:39 +03:00
west_commands west: sign.py: usability fixes 2019-02-15 21:07:10 +01:00
.gitignore
check_link_map.py
checkpatch.pl userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
checkstack.pl
coccicheck scripts: coccicheck: Add support for SPFLAGS 2019-02-07 08:12:20 -05:00
dir_is_writeable.py cmake: Add function for checking if a directory is write-able 2018-04-27 12:06:02 +02:00
elf_helper.py elf_helper: skip SYS_INIT() "devices" 2018-12-03 11:44:01 -08:00
file2hex.py
filter-known-issues.py filter-known-issues.py: clarify what "new" means 2019-02-28 18:18:30 +01:00
gen_app_partitions.py userspace: properly namespace linker vars 2019-03-05 10:02:27 -08:00
gen_cfb_font_header.py subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
gen_gcov_files.py scripts: gen_gcov_files: report if data capture is not complete 2019-01-29 15:03:38 -05:00
gen_kobject_list.py scripts: gen_kobject_list: Fix error log call 2019-02-15 10:19:52 -08:00
gen_offset_header.py
gen_priv_stacks.py scripts: gen_priv_stacks.py: run through flake8 2018-09-17 09:40:02 -04:00
gen_relocate_app.py scripts: gen_relocate_app: Use linker provided size variable. 2018-12-29 09:23:34 -05:00
gen_syscall_header.py kernel: syscalls: Change handlers namespace 2018-09-28 07:58:19 +05:30
gen_syscalls.py kernel: syscalls: Change handlers namespace 2018-09-28 07:58:19 +05:30
mergehex.py mergehex: Improve the error feedback when merged hex files overlap 2019-01-29 17:04:42 +01:00
parse_syscalls.py scripts/*syscalls.py: sort os.walk() for a more deterministic build 2019-02-17 07:32:05 -05:00
process_gperf.py userspace: eliminate warning in process_gperf.py 2018-12-07 20:26:46 -05:00
qemu-machine-hack.py
requirements.txt scripts: Update pyocd version to 0.16.1 2019-02-18 22:34:25 -05:00
sanitycheck sanitycheck: fixed handling of retries 2019-03-04 14:08:12 -05:00
spelling.txt
subfolder_list.py scripts/*syscalls.py: sort os.walk() for a more deterministic build 2019-02-17 07:32:05 -05:00
tags.sh
valgrind.supp valgrind: Add error supression file for POSIX arch 2018-12-21 21:07:18 +01:00
waitpid
west-commands.yml scripts: west_commands: add sign command 2019-02-07 08:44:19 -05:00
yaml_to_cmake.py CMake/Kconfig: CMake and Kconfig build integration 2019-02-08 22:47:02 -05:00