FreeCalypso > hg > ffs-editor
comparison components/nucleus_intram @ 5:3b367f330821
components: pruned import from Selenite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 15 May 2020 02:20:23 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 4:7ed24ddc5c2a | 5:3b367f330821 |
|---|---|
| 1 # New Selenite component: compiling Nucleus from source (internal RAM) | |
| 2 | |
| 3 CFLAGS="-mn -me -mt -o -mw" | |
| 4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork" | |
| 5 CPPFLAGS= | |
| 6 | |
| 7 SRCDIR=$SRC/nucleus | |
| 8 | |
| 9 c_file $SRCDIR/csc.c | |
| 10 c_file $SRCDIR/pmc.c | |
| 11 c_file $SRCDIR/pmce.c | |
| 12 c_file $SRCDIR/pmd.c | |
| 13 c_file $SRCDIR/smc.c | |
| 14 c_file $SRCDIR/smce.c | |
| 15 c_file $SRCDIR/smd.c | |
| 16 c_file $SRCDIR/tcc.c | |
| 17 c_file $SRCDIR/tcce.c | |
| 18 c_file $SRCDIR/tcd.c | |
| 19 c_file $SRCDIR/tmc.c | |
| 20 c_file $SRCDIR/tmd.c | |
| 21 c_file $SRCDIR/tms.c | |
| 22 c_file $SRCDIR/tmse.c | |
| 23 | |
| 24 # assembly modules | |
| 25 | |
| 26 if [ "$COMPILER" = tms470 ] | |
| 27 then | |
| 28 ASMFLAGS=-me | |
| 29 ASMFLAGS="$ASMFLAGS -dOP_L1_STANDALONE=0" | |
| 30 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0" | |
| 31 | |
| 32 SRCDIR=$SRC/cs/os/nucleus | |
| 33 asm_file $SRCDIR/tct.s | |
| 34 | |
| 35 SRCDIR=$SRC/nucleus/tms470 | |
| 36 asm_file $SRCDIR/tmt.s | |
| 37 fi | |
| 38 | |
| 39 if [ "$COMPILER" = gcc ] | |
| 40 then | |
| 41 ASMFLAGS=-mthumb-interwork | |
| 42 | |
| 43 SRCDIR=$SRC/nucleus/gcc | |
| 44 asm_file $SRCDIR/tct.S | |
| 45 asm_file $SRCDIR/tmt.S | |
| 46 fi |
