FreeCalypso > hg > fc-selenite
annotate components/nucleus_intram @ 58:406a2d2c031a
cmh_sms[rs].c: include case fix
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Jul 2018 23:08:12 +0000 |
parents | a9a7d531e673 |
children | 6738273be0b3 |
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" |
50
a9a7d531e673
components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
4 CFLAGS_gcc="-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 |