component.mk 455 B

123456789101112131415161718192021
  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. ifndef CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER
  10. COMPONENT_OBJEXCLUDE += unity_runner.o
  11. endif
  12. ifdef CONFIG_UNITY_ENABLE_FIXTURE
  13. COMPONENT_SRCDIRS += unity/extras/fixture/src
  14. COMPONENT_ADD_INCLUDEDIRS += unity/extras/fixture/src
  15. endif
  16. COMPONENT_SUBMODULES := unity