component.mk 367 B

1234567
  1. # This is the minimal test component makefile.
  2. #
  3. # The following line is needed to force the linker to include all the object
  4. # files into the application, even if the functions in these object files
  5. # are not referenced from outside (which is usually the case for unit tests).
  6. #
  7. COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive