home *** CD-ROM | disk | FTP | other *** search
- # Do not build libgcc1.
- LIBGCC1 =
- CROSS_LIBGCC1 =
-
- # These are really part of libgcc1, but this will cause them to be
- # built correctly, so... [taken from t-sparclite]
- LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c eabi.asm eabi-ctors.c
-
- dp-bit.c: $(srcdir)/config/fp-bit.c
- cat $(srcdir)/config/fp-bit.c > dp-bit.c
-
- fp-bit.c: $(srcdir)/config/fp-bit.c
- echo '#define FLOAT' > fp-bit.c
- cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-
- eabi.asm: $(srcdir)/config/rs6000/eabi.asm
- cat $(srcdir)/config/rs6000/eabi.asm > eabi.asm
-
- eabi-ctors.c: $(srcdir)/config/rs6000/eabi-ctors.c
- cat $(srcdir)/config/rs6000/eabi-ctors.c > eabi-ctors.c
-
- # Build libgcc.a with different options. If no gas support, don't build
- # explicit little endian or big endian libraries, since it depends on the
- # -mbig/-mlittle switches passed to gas. The -mrelocatable support also needs
- # -mrelocatable passed to gas, so don't use it either.
-
- MULTILIB_OPTIONS = msoft-float
- MULTILIB_DIRNAMES = soft-float
- MULTILIB_MATCHES = msoft-float=mcpu?403 \
- msoft-float=mcpu?mpc403 \
- msoft-float=mcpu?ppc403
-
- LIBGCC = stmp-multilib
- INSTALL_LIBGCC = install-multilib
-