zephyr/cmake
Marc Herbert 7d3fbfccd1 host-gcc/target.cmake: stop discarding CMAKE_<tool>_FLAGS for x86
Prepend -m32 to existing flags as opposed to silently override and
discard them:

- set(CMAKE_<tool>_FLAGS                -m32 )
+ string(PREPEND CMAKE_<tool>_FLAGS   " -m32")

This stops discarding additional flags passed with either cmake
-DCMAKE_<tool>_FLAGS="-fu -bar" or cmake -C params.cmake.

Note this bug was affecting only the combination of x86 and
CMAKE_<tool>_FLAGS. x86_64 wasn't affected and other, non-empty
CMAKE_<tool>_FLAGS_[DEBUG/RELEASE/etc.] weren't affected either.

Also convert flags string to list when invoking --print-libgcc-file-name
to support more than one CMAKE_C_FLAGS.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2019-03-21 00:21:27 -07:00
..
app cmake: Deprecate 'set_conf_file' 2019-03-01 09:44:09 +01:00
backports cmake: Fixed python detection bug 2018-12-21 11:13:03 +01:00
compiler host-gcc/target.cmake: stop discarding CMAKE_<tool>_FLAGS for x86 2019-03-21 00:21:27 -07:00
emu cmake: add debugserver target for nsim 2019-03-20 00:35:43 -07:00
flash cmake: Use west installation directly 2019-01-29 10:15:01 +01:00
ide
reports
toolchain cmake: Bump min SDK version to 0.10.0 2019-03-20 15:26:49 -05:00
usage cmake: Fix how usage finds board names 2019-01-31 03:17:19 -06:00
util cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
ccache.cmake
cfb.cmake
dts.cmake cmake: Run dts before kconfig 2019-02-01 10:16:06 -06:00
extensions.cmake cmake: dtc: silence output from check_dtc_flag 2019-01-25 23:14:54 -05:00
extra_flags.cmake lib/os: Conditionally eliminate alloca/VLA usage 2019-02-28 10:06:35 -08:00
fpu-for-gcc-m-cpu.cmake soc: arm: Kconfig option to indicate double-precision FP 2019-02-08 14:09:18 -06:00
gcc-m-cpu.cmake
generic_toolchain.cmake x86_64: use host toolchain 2019-02-10 11:57:17 -06:00
git.cmake cmake: more deterministic git describe --abbrev=12 2019-02-27 10:27:47 +01:00
hex.cmake
host-tools.cmake cmake: add west version checking 2019-03-11 20:37:27 -07:00
kconfig.cmake cmake: kconfig: Allow user to add custom menuconfig impl. 2019-03-13 14:46:16 +01:00
kobj.cmake cmake: Use variables for target names 2019-01-19 07:21:55 -05:00
pristine.cmake
python.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
target_toolchain.cmake cmake: Document CMAKE_SYSTEM_-variables, and add CMAKE_SYSTEM_VERSION 2018-12-20 11:15:20 +01:00
version.cmake
zephyr_module.cmake cmake: west: Allow mono-repo to build when west is installed 2019-03-11 20:38:03 -07:00