blob: 6ddd3e84f330982d0b28f7b22605ad7ab209ce1f [file] [log] [blame]
Olivier Hainqueca12f1c2017-07-03 20:27:58 +00001# Don't build libgcc.a with debug info
2LIBGCC2_DEBUG_CFLAGS =
3
Olivier Hainque52440892018-09-21 13:09:51 +00004# We provide our own implementation for __clear_cache, using a
5# VxWorks specific entry point.
6LIB2FUNCS_EXCLUDE += _clear_cache
Olivier Hainque52440892018-09-21 13:09:51 +00007
Olivier Hainque4df612f2017-08-01 13:23:06 +00008# This ensures that the correct target headers are used; some VxWorks
9# system headers have names that collide with GCC's internal (host)
10# headers, e.g. regs.h. Make sure the local libgcc headers still
Olivier Hainquefb997092018-06-07 13:31:24 +000011# prevail (e.g. unwind.h), and that gcc provided header files intended
12# to be user visible eventually are visible as well.
13LIBGCC2_INCLUDES = -nostdinc -I. \
Olivier Hainque69d6b3f2020-06-26 16:29:42 +000014 -I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
Olivier Hainquefb997092018-06-07 13:31:24 +000015 -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h \
16 -I$(MULTIBUILDTOP)../../gcc/include \
Olivier Hainqueca12f1c2017-07-03 20:27:58 +000017 `case "/$(MULTIDIR)" in \
18 */mrtp*) echo -I$(VSB_DIR)/usr/h/public -I$(VSB_DIR)/usr/h ;; \
19 *) echo -I$(VSB_DIR)/krnl/h/system -I$(VSB_DIR)/krnl/h/public ;; \
20 esac`