FreeCalypso > hg > fc-selenite
annotate components/nucleus_intram @ 174:097e25b925a2
doc/Compiling: gtm900 target added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 19 Jun 2019 06:15:56 +0000 |
parents | 1155be085fc1 |
children |
rev | line source |
---|---|
37
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # New Selenite component: compiling Nucleus from source (internal RAM) |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-mn -me -mt -o -mw" |
103
1155be085fc1
components/*: added -g to CFLAGS_gcc
Mychaela Falconia <falcon@freecalypso.org>
parents:
75
diff
changeset
|
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork" |
37
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 CPPFLAGS= |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 SRCDIR=$SRC/nucleus |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 c_file $SRCDIR/csc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 c_file $SRCDIR/pmc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 c_file $SRCDIR/pmce.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 c_file $SRCDIR/pmd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 c_file $SRCDIR/smc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 c_file $SRCDIR/smce.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 c_file $SRCDIR/smd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 c_file $SRCDIR/tcc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 c_file $SRCDIR/tcce.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 c_file $SRCDIR/tcd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 c_file $SRCDIR/tmc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 c_file $SRCDIR/tmd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 c_file $SRCDIR/tms.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 c_file $SRCDIR/tmse.c |
39
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
23 |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
24 # assembly modules |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
25 |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
26 if [ "$COMPILER" = tms470 ] |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
27 then |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
28 ASMFLAGS=-me |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
29 ASMFLAGS="$ASMFLAGS -dOP_L1_STANDALONE=0" |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
30 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0" |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
31 |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
32 SRCDIR=$SRC/cs/os/nucleus |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
33 asm_file $SRCDIR/tct.s |
40
614668bbbc4f
Nucleus: tmt.s ported over from FreeNucleus by XVilka
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
34 |
614668bbbc4f
Nucleus: tmt.s ported over from FreeNucleus by XVilka
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
35 SRCDIR=$SRC/nucleus/tms470 |
614668bbbc4f
Nucleus: tmt.s ported over from FreeNucleus by XVilka
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
36 asm_file $SRCDIR/tmt.s |
39
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
37 fi |
75
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
38 |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
39 if [ "$COMPILER" = gcc ] |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
40 then |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
41 ASMFLAGS=-mthumb-interwork |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
42 |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
43 SRCDIR=$SRC/nucleus/gcc |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
44 asm_file $SRCDIR/tct.S |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
45 asm_file $SRCDIR/tmt.S |
6738273be0b3
Nucleus gcc assembly modules compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
46 fi |