zephyr/scripts
Inaky Perez-Gonzalez b37bcf2fc0 scrips/merge_config.sh: fix corner case \n-less last line
When a configuration file fragment ends in a line that is not
terminated by a \n, it will mange the pasting of the following
fragment. For example, in file1.prj:

  CONFIG_SETTING_A=34
  CONFIG_SETTING_B=12

and file2.prj:

  CONFIG_SETTING_C=56

would become:

  CONFIG_SETTING_A=34
  CONFIG_SETTING_B=12CONFIG_SETTING_C=56

because there was no \n at the end of CONFIG_SETTING_B=12. This makes
the kconfig parser to reject CONFIG_SETTING_B and to loose
CONFIG_SETTING_C, which then has random consequences.

So, to avoid that problem, always add a newline after a config fragment.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2017-09-30 22:42:08 -04:00
..
basic
checkpatch scripts: move checkpatch scripts to checkpatch/ 2017-09-11 08:53:56 -07:00
ci ci: compliance script should use python3 2017-09-12 19:01:58 -04:00
cross_compiler
dts scripts/dts/extract_dts_includes.py: allow multiple fixup files 2017-09-17 17:34:38 -04:00
footprint scripts: move footprint scripts to footprint/ 2017-09-11 08:53:56 -07:00
gitlint gitlint: ignore titles prefixed with Revert 2017-08-08 09:04:25 -04:00
kconfig scrips/merge_config.sh: fix corner case \n-less last line 2017-09-30 22:42:08 -04:00
sanity_chk cleanup: remove lots of references to unified kernel 2017-09-12 12:37:11 -04:00
support scripts: Run JLinkGDBServer in silent mode 2017-08-11 11:21:46 -04:00
.gitignore
check_link_map.py
checkpatch.pl syscalls: greatly simplify system call declaration 2017-09-29 13:02:20 -07:00
checkstack.pl
file2hex.py build: Add rules in Makefile.gen to generate a hex file 2017-09-18 14:56:16 -04:00
filter-known-issues.py doc: filter-known-issues.py and empty files 2017-09-21 16:58:17 -04:00
gcc-version.sh
gen_gdt.py x86: implement userspace APIs 2017-09-12 12:46:36 -07:00
gen_idt.py scripts: add version check for pyelftools 2017-07-25 13:41:16 -04:00
gen_kobject_list.py gen_kobject_list.py: device driver support 2017-09-29 13:25:58 -07:00
gen_mmu.py gen_mmu.py: load directly 2017-09-21 13:27:25 -04:00
gen_offset_header.py scripts: fix offset.h header guard 2017-08-01 15:05:13 -04:00
gen_syscall_header.py syscalls: greatly simplify system call declaration 2017-09-29 13:02:20 -07:00
gen_syscalls.py kernel: make 'static inline' implicit to __syscall 2017-09-29 15:09:44 -07:00
headerdep.pl
Kbuild.include
make-ll
Makefile build: Fix distclean for gen_idt 2017-08-01 22:10:22 -04:00
Makefile.build
Makefile.clean
Makefile.extrawarn
Makefile.gen build: Makefile.gen: reorder make rules to deal with greedy rule match 2017-09-28 09:29:34 -07:00
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib build: allow user to specify DTC_OVERLAY_FILE directly 2017-07-31 09:21:46 -05:00
Makefile.modbuiltin
Makefile.qemu qemu: cleanup qemu configurations 2017-09-23 16:51:20 -07:00
Makefile.toolchain.espressif
Makefile.toolchain.gccarmemb
Makefile.toolchain.issm
Makefile.toolchain.riscv32
Makefile.toolchain.xcc
Makefile.toolchain.xtools
Makefile.toolchain.zephyr
Makefile.xt-run
Makefile.xtsc-run
mkmakefile
mksysmap
process_gperf.py kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
qemu-machine-hack.py
requirements.txt doc: add python pip requirements.txt 2017-07-22 14:04:20 -04:00
sanitycheck sanitycheck: save/load lists of filterd tests 2017-09-12 18:13:46 -04:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh
timestamp
uncrustify.cfg
vercomp
waitpid