URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
12 |
jlechner |
# Just for these, we omit the frame pointer since it makes such a big
|
2 |
|
|
# difference. It is then pointless adding debugging.
|
3 |
|
|
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
|
4 |
|
|
LIBGCC2_DEBUG_CFLAGS = -g0
|
5 |
|
|
|
6 |
|
|
LIB1ASMSRC = arm/lib1funcs.asm
|
7 |
|
|
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
|
8 |
|
|
|
9 |
|
|
# We want fine grained libraries, so use the new code to build the
|
10 |
|
|
# floating point emulation libraries.
|
11 |
|
|
FPBIT = fp-bit.c
|
12 |
|
|
DPBIT = dp-bit.c
|
13 |
|
|
|
14 |
|
|
fp-bit.c: $(srcdir)/config/fp-bit.c
|
15 |
|
|
echo '#ifdef __SOFTFP__' > fp-bit.c
|
16 |
|
|
echo '#define FLOAT' >> fp-bit.c
|
17 |
|
|
echo '#ifndef __ARMEB__' >> fp-bit.c
|
18 |
|
|
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
|
19 |
|
|
echo '#endif' >> fp-bit.c
|
20 |
|
|
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
21 |
|
|
echo '#endif' >> fp-bit.c
|
22 |
|
|
|
23 |
|
|
dp-bit.c: $(srcdir)/config/fp-bit.c
|
24 |
|
|
echo '#ifdef __SOFTFP__' > dp-bit.c
|
25 |
|
|
echo '#ifndef __ARMEB__' >> dp-bit.c
|
26 |
|
|
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
|
27 |
|
|
echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
|
28 |
|
|
echo '#endif' >> dp-bit.c
|
29 |
|
|
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
|
30 |
|
|
echo '#endif' >> dp-bit.c
|
31 |
|
|
|
32 |
|
|
MULTILIB_OPTIONS = msoft-float mbig-endian mwords-little-endian
|
33 |
|
|
MULTILIB_DIRNAMES = soft big wlittle
|
34 |
|
|
MULTILIB_EXCEPTIONS = mwords-little-endian msoft-float/mwords-little-endian
|
35 |
|
|
|
36 |
|
|
LIBGCC = stmp-multilib
|
37 |
|
|
INSTALL_LIBGCC = install-multilib
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.