Otherwise flags get enabled even when building tests for other components.
CPPFLAGS is applied for both languages while CFLAGS only for C Signed-off-by: Andreas Pokorny <andreas.pokorny@siemens.com>
Used by mbedTLS to set MBEDTLS_CONFIG_FILE in all components. This change sets CFLAGS/etc at the project level and then exports those variables for components, rather than setting them independently each time a component Makefile is invoked.