summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/t-vxworks
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/t-vxworks')
-rw-r--r--contrib/gcc/config/t-vxworks22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/gcc/config/t-vxworks b/contrib/gcc/config/t-vxworks
new file mode 100644
index 0000000..ebf47e1
--- /dev/null
+++ b/contrib/gcc/config/t-vxworks
@@ -0,0 +1,22 @@
+# Since we have a functional assert.h, use it.
+INSTALL_ASSERT_H =
+
+# Build libgcc using the multilib mechanism
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib
+
+# No special flags needed for libgcc.a
+TARGET_LIBGCC2_CFLAGS =
+
+# Don't build libgcc.a with debug info
+LIBGCC2_DEBUG_CFLAGS =
+
+# Extra libgcc2 module used by gthr-vxworks.h functions
+LIB2FUNCS_EXTRA = $(srcdir)/config/vxlib.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.
+# FIXME: May not be necessary anymore.
+LIBGCC2_INCLUDES="-I$(SYSTEM_HEADER_DIR)"
OpenPOWER on IntegriCloud