t-vxworks 983 B

12345678910111213141516171819202122
  1. # Don't build libgcc.a with debug info
  2. LIBGCC2_DEBUG_CFLAGS =
  3. # We provide our own implementation for __clear_cache, using a
  4. # VxWorks specific entry point.
  5. LIB2FUNCS_EXCLUDE += _clear_cache
  6. # This ensures that the correct target headers are used; some VxWorks
  7. # system headers have names that collide with GCC's internal (host)
  8. # headers, e.g. regs.h. Make sure the local libgcc headers still
  9. # prevail (e.g. unwind.h), and that gcc provided header files intended
  10. # to be user visible eventually are visible as well.
  11. LIBGCC2_INCLUDES = -nostdinc -I. \
  12. -I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
  13. -I$(MULTIBUILDTOP)../../gcc/include \
  14. $(if $(findstring vxworks7, $(target_noncanonical)), \
  15. -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h -I=/system -I=/public, \
  16. -I=/ -I=/wrn/coreip)
  17. # Use these also for the vxcrstuff objects (.e.g for version.h), on top of
  18. # the options possibly already set specifically for the target:
  19. CRTSTUFF_T_CFLAGS += $(LIBGCC2_INCLUDES)