From: Olivier Hainque Date: Mon, 3 Jul 2017 20:27:58 +0000 (+0000) Subject: t-vxworks7: New file. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca12f1ca1f2ca396820debfcbb61fdb49639943d;p=gcc.git t-vxworks7: New file. 2017-06-27 Olivier Hainque * config/t-vxworks7: New file. New file mistakenly omitted from previous commit referencing it. From-SVN: r249938 --- diff --git a/libgcc/config/t-vxworks7 b/libgcc/config/t-vxworks7 new file mode 100644 index 00000000000..77591cd642c --- /dev/null +++ b/libgcc/config/t-vxworks7 @@ -0,0 +1,16 @@ +# Don't build libgcc.a with debug info +LIBGCC2_DEBUG_CFLAGS = + +# Extra libgcc2 modules used by gthr-vxworks.h functions +LIB2ADDEH += $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c + +# This ensures that the correct target headers are used; some +# VxWorks system headers have names that collide with GCC's +# internal (host) headers, e.g. regs.h. +LIBGCC2_INCLUDES = -nostdinc \ + -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h \ + `case "/$(MULTIDIR)" in \ + */mrtp*) echo -I$(VSB_DIR)/usr/h/public -I$(VSB_DIR)/usr/h ;; \ + *) echo -I$(VSB_DIR)/krnl/h/system -I$(VSB_DIR)/krnl/h/public ;; \ + esac` +