aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.0/gcc/config/m68k/t-uclinux
blob: f8606723303642cfb34963ccc80a1fa980ffca7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# crti and crtn are provided by uClibc.
EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o

# Only include multilibs for the 68020 and for CPUs without an MMU.
M68K_MLIB_CPU += && (MLIB == "68020" || !match(FLAGS, "FL_MMU"))

# Add multilibs for execute-in-place and shared-library code.
M68K_MLIB_OPTIONS += msep-data/mid-shared-library
M68K_MLIB_DIRNAMES += msep-data mid-shared-library

# This rule uses MULTILIB_MATCHES to generate a definition of
# SYSROOT_SUFFIX_SPEC.
sysroot-suffix.h: $(srcdir)/config/m68k/print-sysroot-suffix.sh
	$(SHELL) $(srcdir)/config/m68k/print-sysroot-suffix.sh \
	  "$(SYSTEM_HEADER_DIR)/../.." "$(MULTILIB_MATCHES)" \
	  "$(MULTILIB_OPTIONS)" > $@

generated_files += sysroot-suffix.h