makefiles/vars.inc.mk: export CFLAGS_CPU

CFLAGS_CPU is required for 'pkg/openthread'. So declare it as a global
compilation variable.

The goal is to move the export to `makefiles/vars.inc.mk` and remove the
local exports that could be in boards/cpu/arch.
This commit is contained in:
Gaëtan Harter 2019-08-27 17:05:37 +02:00
parent 3010d1cef4
commit a68bf99086
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -47,6 +47,7 @@ export CC # The C compiler to use.
export CXX # The CXX compiler to use.
export CCAS # The C compiler to use for assembler files, typically the same as CC.
export CFLAGS # The compiler flags. Must only ever be used with `+=`.
export CFLAGS_CPU # CPU architecture specific compiler flags
export CXXUWFLAGS # (Patterns of) flags in CFLAGS that should not be passed to CXX.
export CXXEXFLAGS # Additional flags that should be passed to CXX.
export CCASUWFLAGS # (Patterns of) flags in CFLAGS that should not be passed to CCAS.