0
|
1 # Don't run fixproto.
|
|
2 STMP_FIXPROTO =
|
|
3
|
|
4 # Build libgcc using the multilib mechanism
|
|
5 LIBGCC = stmp-multilib
|
|
6 INSTALL_LIBGCC = install-multilib
|
|
7
|
|
8 # No special flags needed for libgcc.a
|
|
9 TARGET_LIBGCC2_CFLAGS =
|
|
10
|
|
11 # Don't build libgcc.a with debug info
|
|
12 LIBGCC2_DEBUG_CFLAGS =
|
|
13
|
|
14 # Extra libgcc2 modules used by gthr-vxworks.h functions
|
|
15 LIB2FUNCS_EXTRA = $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c
|
|
16
|
|
17 # Some runtime modules need these. Can't set extra_headers in config.gcc
|
|
18 # because the paths are always made absolute to the cpu config dir.
|
|
19 EXTRA_HEADERS += $(srcdir)/gthr-vxworks.h gthr-default.h
|
|
20
|
|
21 # This ensures that the correct target headers are used; some
|
|
22 # VxWorks system headers have names that collide with GCC's
|
|
23 # internal (host) headers, e.g. regs.h.
|
|
24 LIBGCC2_INCLUDES = -nostdinc -I \
|
|
25 `case "/$$(MULTIDIR)" in \
|
|
26 */mrtp*) echo $(WIND_USR)/h ;; \
|
|
27 *) echo $(WIND_BASE)/target/h ;; \
|
|
28 esac`
|
|
29
|
|
30 # Both the kernel and RTP headers provide limits.h.
|
|
31 LIMITS_H_TEST = true
|
|
32
|
|
33 EXTRA_MULTILIB_PARTS =
|
|
34
|
|
35 vxworks.o: $(srcdir)/config/vxworks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
36 $(TARGET_H) toplev.h output.h $(TM_H)
|
|
37 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
|