esp-idf/make
Ivan Grokhotkov 182184567e build system: add menuconfig choice for optimization level, reorganize C*FLAGS
This change adds two options (Debug/Release) for optimization level.
Debug enables -O0, release enables -Os and adds -DNDEBUG (which removes all assert() statements).
Debugging symbols are kept in both cases, although we may add an option to strip output file if necessary.
Also we used to define all common compiler flags in CPPFLAGS, and then appended them to CFLAGS/CXXFLAGS.
It makes it impossible to add preprocessor macros to CPPFLAGS at component level (one has to use CFLAGS/CXXFLAGS instead).
Some third party libraries are not compatible with this approach. Changed to the more common way of using these variables.
2016-10-17 12:38:17 +08:00
..
build_examples.sh Build examples out-of-tree as part of CI process 2016-09-27 12:06:54 +10:00
common.mk build system: Print a WARNING if any submodule is out of date 2016-10-11 07:56:08 +11:00
component_common.mk build system: add menuconfig choice for optimization level, reorganize C*FLAGS 2016-10-17 12:38:17 +08:00
project_config.mk Build system: Allow components to add to the global CFLAGS via Makefile.projbuild 2016-09-09 11:08:19 +10:00
project.mk build system: add menuconfig choice for optimization level, reorganize C*FLAGS 2016-10-17 12:38:17 +08:00
test_build_system.sh config system: Support Windows when CRLFs used for eol markers 2016-09-16 18:07:58 +10:00