zephyr/cmake
Sebastian Bøe 777e0a1b86 cmake: Support UTF-8 characters in Kconfig values
We are using the CMake command 'file(STRINGS' (which defaults to only
decoding ASCII) to read Kconfig configurations. When UTF-8 characters
are detected they are treated as newlines.

This behaviour has caused issues when users have input UTF-8
characters into Kconfig values. E.g. USB device descriptor strings.

This commit adds the flag 'ENCODING "UTF-8"' to the 'file(STRINGS'
command so that UTF-8 characters are correctly passed through the
build system.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-03-21 19:11:19 -04:00
..
app cmake: Find out earlier whether ccache is to be used or not 2018-03-02 07:13:21 +01:00
compiler toolchain: organise toolchain/compiler files 2018-02-13 07:44:45 -08:00
emu sample: net: RPL mesh sample over QEMU 2018-02-20 14:47:14 +02:00
flash cmake: fix 'ninja flash' et al with multiple boards plugged in 2018-02-02 19:04:00 +01:00
reports scripts: fix ram_reports and generate bin file if missing 2018-01-29 05:16:52 +05:30
toolchain toolchain: organise toolchain/compiler files 2018-02-13 07:44:45 -08:00
usage cmake: Fix "make usage" regression from the ZEPHYR_BASE change 2018-01-18 10:44:19 -05:00
ccache.cmake
dts.cmake cmake: dts: Fix usage of BOARD vs BOARD_FAMILY 2018-02-27 19:56:47 -06:00
extensions.cmake cmake: Support UTF-8 characters in Kconfig values 2018-03-21 19:11:19 -04:00
extra_flags.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00
fpu-for-gcc-m-cpu.cmake cmake: indicate single precision floating-point for Cortex-M33 2018-02-23 21:42:22 -06:00
gcc-m-cpu.cmake
hex.cmake
host-tools-zephyr.cmake cmake: sdk: Improve error message when INSTALL_DIR is wrong 2018-01-11 06:39:12 -05:00
host-tools.cmake cmake: do not error on missing 'config' 2018-01-16 17:03:48 -05:00
kconfig.cmake build: support out-of-tree custom boards 2018-02-14 19:20:29 -05:00
pristine.cmake
toolchain.cmake toolchain: organise toolchain/compiler files 2018-02-13 07:44:45 -08:00
version.cmake cmake: Use path-corrected version of ZEPHYR_BASE 2018-01-11 14:59:03 -05:00