component.mk 439 B

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