zephyr/scripts
Martí Bolívar 877fc59e30 scripts: west build: handle missing CMAKE_PROJECT_NAME
If there is an error in the CMake configuration phase (this can happen
if a script run using execute_process() fails, for instance), the
build system is incompletely generated and future attempts to run
'west build' will fail. This manifests in the following error:

    Error: could not find CMAKE_PROJECT_NAME in Cache

Whenever we see that the cache exists but this variable is missing,
let's just force CMake to run again. This avoids the error in my
testing and is a bit more user friendly. I've seen multiple users
asking what to do in this situation; the answer is always "just build
it again", so we might as well do it for them.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-04-11 15:04:04 -04:00
..
checkpatch
ci ci: if we are only changing doc/ files, no sanitycheck run 2020-04-11 08:40:54 -04:00
coccinelle scripts/coccinelle: improve int_literal_to_timeout 2020-04-02 19:47:51 +03:00
dts devicetree: re-work DT_INST_FOREACH() 2020-04-08 09:00:38 -05:00
footprint scripts: footprint: Fix pylint warnings 2019-09-14 13:35:08 +08:00
gitlint zephyr_commit_rules.py: Fix pylint warning by simplifying conditional 2019-09-08 22:19:37 -04:00
kconfig kconfig: Remove deprecated functions from kconfigfunctions.py 2020-04-07 13:05:59 -05:00
net scripts: net: Add TLS test for mqtt_publisher 2020-03-25 08:39:39 +02:00
release scripts: add script for listing closed bugs 2019-10-22 15:11:09 -04:00
sanity_chk sanitycheck: fix coverage capturing 2020-04-07 14:53:20 -04:00
support scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
tests/sanitycheck sanitycheck: fix testsuite 2020-03-30 09:59:42 -04:00
tracing scripts: add script for usb backend to receive tracing data 2020-02-05 23:54:26 -05:00
west_commands scripts: west build: handle missing CMAKE_PROJECT_NAME 2020-04-11 15:04:04 -04:00
.gitignore scripts: tests: sanitycheck: Add basic foundation for sanitycheck testsuite 2020-03-24 22:32:26 -04:00
checkpatch.pl syscalls: Remove references to __syscall_inline 2019-12-09 12:47:15 -05:00
checkstack.pl
coccicheck
dir_is_writeable.py global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
file2hex.py
filter-known-issues.py filter-known-issues.py: Remove '== True' test 2019-09-08 22:20:20 -04:00
gen_app_partitions.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
gen_cfb_font_header.py cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
gen_gcov_files.py gen_gcov_files.py: Replace bare 'except' with 'except Exception' 2019-09-07 07:58:16 -04:00
gen_kobject_list.py scripts: gen_kobject_list.py cleanup 2020-03-17 20:11:27 +02:00
gen_offset_header.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_relocate_app.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_syscalls.py kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
mergehex.py scripts: cmake: move print from python to cmake 2020-01-03 08:20:08 -05:00
parse_syscalls.py scripts: Dynamically add driver subsystems to subsystems list 2020-03-11 17:13:39 +02:00
process_gperf.py doc: fix some missed renames 2020-03-17 20:11:27 +02:00
requirements-base.txt scripts: Bump west version 2020-03-23 17:55:14 +01:00
requirements-build-test.txt scripts: tests: sanitycheck: Add basic foundation for sanitycheck testsuite 2020-03-24 22:32:26 -04:00
requirements-doc.txt ci: do not use latest breathe release for docs 2020-04-07 18:51:13 -04:00
requirements-extras.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
requirements-run-test.txt manifest: upgrade mcuboot 2020-03-31 07:18:06 +02:00
requirements.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
sanitycheck sanitycheck: fix coverage capturing 2020-04-07 14:53:20 -04:00
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml cmake: West extension command for Zephyr config package registration 2020-03-27 16:23:46 +01:00
zephyr_module.py cmake: propagating zephyr base to west 2020-03-27 16:23:46 +01:00