esp-idf/components/log/component.mk
Jakob Hasse db46ad8ef2 [log]: excluding log_linux.c correctly now
* log_linux.c needs to be excluded generally
  in make since Linux target isn't supported
  when building with make

Closes https://github.com/espressif/esp-idf/issues/7155
2021-06-17 11:09:56 +08:00

17 lines
439 B
Makefile

#
# Component Makefile
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
# Simpler condition than in CMakeLists.txt;
# We assume that FreeRTOS is always included into the build with GNU Make.
ifndef IS_BOOTLOADER_BUILD
COMPONENT_OBJEXCLUDE := log_noos.o
else
COMPONENT_OBJEXCLUDE := log_freertos.o
endif
COMPONENT_OBJEXCLUDE += log_linux.o
COMPONENT_ADD_LDFRAGMENTS += linker.lf