1 1.1 mrg # Don't build libgcc.a with debug info 2 1.1 mrg LIBGCC2_DEBUG_CFLAGS = 3 1.1 mrg 4 1.1.1.3 mrg # We provide our own implementation for __clear_cache, using a 5 1.1.1.3 mrg # VxWorks specific entry point. 6 1.1.1.3 mrg LIB2FUNCS_EXCLUDE += _clear_cache 7 1.1.1.3 mrg LIB2ADD += $(srcdir)/config/vxcache.c 8 1.1.1.3 mrg 9 1.1 mrg # Extra libgcc2 modules used by gthr-vxworks.h functions 10 1.1.1.2 mrg LIB2ADDEH += $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c 11 1.1 mrg 12 1.1.1.2 mrg # This ensures that the correct target headers are used; some VxWorks 13 1.1.1.2 mrg # system headers have names that collide with GCC's internal (host) 14 1.1.1.2 mrg # headers, e.g. regs.h. Make sure the local libgcc headers still 15 1.1.1.3 mrg # prevail (e.g. unwind.h), and that gcc provided header files intended 16 1.1.1.3 mrg # to be user visible eventually are visible as well. 17 1.1.1.2 mrg LIBGCC2_INCLUDES = -nostdinc -I. \ 18 1.1.1.3 mrg -I$(MULTIBUILDTOP)../../gcc/include \ 19 1.1.1.2 mrg `case "/$(MULTIDIR)" in \ 20 1.1.1.2 mrg */mrtp*) echo -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip ;; \ 21 1.1.1.2 mrg *) echo -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \ 22 1.1 mrg esac` 23