zephyr/scripts
Ulf Magnusson 57b28cae2c kconfiglib: Save previous configuration to .config.old
Update Kconfiglib (and menuconfig, just to sync) to upstream revision
094f4a9622046, to add the commit below.

  Save existing configuration to .<filename>.old in write_config()

  Add a default-True 'save_old' flag to write_config(). If 'save_old' is
  True and an existing configuration file is being overwritten, a copy
  of the old configuration file is saved to .<filename>.old (e.g.
  .config.old) in the same directory.

  Errors are ignored, as the old configuration would usually just be a
  nice-to-have, and not essential.

  The same functionality could be added for minimal configuration files
  and headers, but it's probably most useful for configuration files.

Other changes:

  - Parsing performance is improved a bit

  - scripts/kconfig/kconfig.py now prints the path to the merged
    configuration in zephyr/.config, to make it a bit easier to
    discover.

Fixes: #2907

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-12-08 17:14:38 +01:00
..
checkpatch scripts: cleanup scripts directory 2018-04-03 09:28:09 -04:00
ci ci: Allow setting BSIM_OUT_PATH from environment 2018-12-07 16:46:54 -05:00
cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
coccinelle scripts/coccinelle: Add Coccinelle script for unsigned values 2018-12-04 22:51:56 -05:00
cross_compiler toolchains: fix xtools configurations 2017-10-12 16:27:12 -05:00
dts scripts: extract_dts_includes: Generate device bus info define 2018-12-07 09:08:04 -06:00
footprint size_report: cleanup up detection and error handling 2018-10-29 10:15:17 -04:00
gitlint gitlint: do not start with subsys: 2018-11-28 09:22:01 -08:00
kconfig kconfiglib: Save previous configuration to .config.old 2018-12-08 17:14:38 +01:00
meta/west west: runner: fix naming and paths to xt-ocd 2018-10-11 10:49:56 -04:00
sanity_chk sanitycheck: remove unused platforms keyword 2018-11-19 15:03:55 -05:00
support scripts: make runner a west subpackage 2018-05-19 07:01:39 +03:00
.gitignore expr_parser.py: simple expression language 2016-05-04 22:57:39 +00:00
check_link_map.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
checkpatch.pl checkpatch: downgrade COMPLEX_MACRO to a warning 2018-05-08 08:56:12 -07:00
checkstack.pl First commit 2015-04-10 16:44:37 -07:00
coccicheck scripts: coccicheck: Improve continuous run operation 2018-12-05 15:14:05 -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 scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
filter-known-issues.py scripts: filter-known-issues: Add extra newline 2018-07-12 23:11:46 -04:00
gen_alignment_script.py arm: Add app data section alignment constraints 2018-02-06 15:31:16 -08:00
gen_app_partitions.py scripts: add missing lincense in scripts/gen_app_partitions.py 2018-11-30 15:22:58 +01: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_gdt.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_idt.py x86: add dynamic interrupt support 2018-11-10 11:01:22 -05:00
gen_kobject_list.py k_mem_slab: track as a kernel object 2018-11-15 16:20:36 -05:00
gen_mmu_x86.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_offset_header.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
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.py: Script for relocating files in memory. 2018-12-07 10:32:41 -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 cmake: flash: scripts: Include externally built hex files 2018-12-04 19:04:13 +01:00
parse_syscalls.py userspace: adjust syscall generation scripts 2018-07-24 14:39:38 -04:00
process_gperf.py userspace: eliminate warning in process_gperf.py 2018-12-07 20:26:46 -05:00
qemu-machine-hack.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
requirements.txt cmake: flash: scripts: Include externally built hex files 2018-12-04 19:04:13 +01:00
sanitycheck sanitycheck: add new _TEXT_SECTION_NAME_2 section to whitelist 2018-12-07 16:50:24 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
subfolder_list.py cmake: Using symlinks on unix like os'es for dependencies 2018-06-19 17:00:27 +02:00
tags.sh scripts: fix tags.sh to current source tree 2018-01-15 18:30:28 -05:00
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00
west scripts: west: be more explicit in copy warning message 2018-11-21 09:43:45 -05:00