component.mk 549 B

12345678910111213141516171819202122232425
  1. #
  2. # Component Makefile
  3. #
  4. ifeq ($(GCC_NOT_5_2_0), 1)
  5. unity/src/unity.o: CFLAGS += -Wno-unused-const-variable
  6. endif
  7. COMPONENT_ADD_INCLUDEDIRS = include unity/src
  8. COMPONENT_SRCDIRS = unity/src .
  9. ifdef CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL
  10. COMPONENT_PRIV_INCLUDEDIRS += include/priv
  11. endif
  12. ifndef CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER
  13. COMPONENT_OBJEXCLUDE += unity_runner.o
  14. endif
  15. ifdef CONFIG_UNITY_ENABLE_FIXTURE
  16. COMPONENT_SRCDIRS += unity/extras/fixture/src
  17. COMPONENT_ADD_INCLUDEDIRS += unity/extras/fixture/src
  18. endif
  19. COMPONENT_SUBMODULES := unity