1 # Do not build libgcc1.
5 # We want fine grained libraries, so use the new code to build the
6 # floating point emulation libraries.
10 dp-bit.c: $(srcdir)/config/fp-bit.c
11 cat $(srcdir)/config/fp-bit.c > dp-bit.c
13 fp-bit.c: $(srcdir)/config/fp-bit.c
14 echo '#define FLOAT' > fp-bit.c
15 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
17 # Build the libraries for both hard and soft floating point and all of the
18 # different processor models
20 MULTILIB_OPTIONS = msoft-float \
21 mcpu=common/mcpu=power/mcpu=powerpc/maix64
23 MULTILIB_DIRNAMES = soft-float \
24 common power powerpc ppc64
26 MULTILIB_MATCHES = msoft-float=mcpu?403 \
29 mcpu?power=mcpu?rios1 \
31 mcpu?power=mcpu?rsc1 \
34 mcpu?power=mcpu=rios2 \
35 mcpu?powerpc=mcpu?rs64a \
36 mcpu?powerpc=mcpu?601 \
37 mcpu?powerpc=mcpu?602 \
38 mcpu?powerpc=mcpu?603 \
39 mcpu?powerpc=mcpu?603e \
40 mcpu?powerpc=mcpu?604 \
41 mcpu?powerpc=mcpu?620 \
42 mcpu?powerpc=mcpu?630 \
43 mcpu?powerpc=mcpu?750 \
44 mcpu?powerpc=mcpu?403 \
45 mcpu?powerpc=mpowerpc \
46 mcpu?powerpc=mpowerpc-gpopt \
47 mcpu?powerpc=mpowerpc-gfxopt
49 LIBGCC = stmp-multilib
50 INSTALL_LIBGCC = install-multilib
53 # Both 32-bit and 64-bit objects in archives
54 AR_FLAGS_FOR_TARGET=-X32_64 rc
56 # We need -lld for collect2 (actually this only matters
57 # for a native compiler, but this is as good a place as any
58 # to define the symbol).