1 # crti and crtn are provided by uClibc.
2 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
4 # Only include multilibs for the 68020 and for CPUs without an MMU.
5 M68K_MLIB_CPU += && (MLIB == "68020" || !match(FLAGS, "FL_MMU"))
7 # Add multilibs for execute-in-place and shared-library code.
8 M68K_MLIB_OPTIONS += msep-data/mid-shared-library
9 M68K_MLIB_DIRNAMES += msep-data mid-shared-library
11 # This rule uses MULTILIB_MATCHES to generate a definition of
12 # SYSROOT_SUFFIX_SPEC.
13 sysroot-suffix.h: $(srcdir)/config/m68k/print-sysroot-suffix.sh
14 $(SHELL) $(srcdir)/config/m68k/print-sysroot-suffix.sh \
15 "$(SYSTEM_HEADER_DIR)/../.." "$(MULTILIB_MATCHES)" \
16 "$(MULTILIB_OPTIONS)" > $@
18 generated_files += sysroot-suffix.h