Olivier Hainque | ca12f1c | 2017-07-03 20:27:58 +0000 | [diff] [blame] | 1 | # Don't build libgcc.a with debug info |
| 2 | LIBGCC2_DEBUG_CFLAGS = |
| 3 | |
Olivier Hainque | 5244089 | 2018-09-21 13:09:51 +0000 | [diff] [blame] | 4 | # We provide our own implementation for __clear_cache, using a |
| 5 | # VxWorks specific entry point. |
| 6 | LIB2FUNCS_EXCLUDE += _clear_cache |
Olivier Hainque | 5244089 | 2018-09-21 13:09:51 +0000 | [diff] [blame] | 7 | |
Olivier Hainque | 4df612f | 2017-08-01 13:23:06 +0000 | [diff] [blame] | 8 | # 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 Hainque | fb99709 | 2018-06-07 13:31:24 +0000 | [diff] [blame] | 11 | # prevail (e.g. unwind.h), and that gcc provided header files intended |
| 12 | # to be user visible eventually are visible as well. |
| 13 | LIBGCC2_INCLUDES = -nostdinc -I. \ |
Olivier Hainque | 69d6b3f | 2020-06-26 16:29:42 +0000 | [diff] [blame] | 14 | -I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \ |
Olivier Hainque | fb99709 | 2018-06-07 13:31:24 +0000 | [diff] [blame] | 15 | -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h \ |
| 16 | -I$(MULTIBUILDTOP)../../gcc/include \ |
Olivier Hainque | ca12f1c | 2017-07-03 20:27:58 +0000 | [diff] [blame] | 17 | `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` |