FreeCalypso > hg > fc-tourmaline
annotate components/frame_ir @ 32:7ce079c7c5dd
targets/*.conf: adapted from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 17 Oct 2020 02:13:29 +0000 |
parents | 9ab2f6dc1974 |
children | e58a5bb12de4 |
rev | line source |
---|---|
29
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building frame_ir.lib using a mixture of source and blobs as configured |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 # Defines |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 # Includes |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 # Source modules |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 SRCDIR=$SRC/gpf/frame |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 cfile_symlink $SRCDIR/frame.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 cfile_symlink $SRCDIR/vsi_sem.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 cfile_symlink $SRCDIR/vsi_com.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 cfile_symlink $SRCDIR/vsi_mem.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 cfile_symlink $SRCDIR/vsi_tim.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 cfile_symlink $SRCDIR/vsi_mis.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 cfile_symlink $SRCDIR/vsi_drv.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 cfile_symlink $SRCDIR/vsi_trc.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 cfile_symlink $SRCDIR/vsi_pro.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 cfile_symlink $SRCDIR/xalert.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 cfile_symlink $SRCDIR/route.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 cfile_symlink $SRCDIR/prf_func.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 cfile_symlink $SRCDIR/frm_ext.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 cfile_symlink $SRCDIR/frame_version.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 # OSL |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 if [ "$OSL" = 1 ] |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 then |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 # drop -o3 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 SRCDIR=$SRC/gpf/osl |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 cfile_plain $SRCDIR/os_com_ir.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 cfile_plain $SRCDIR/os_mem_ir.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 cfile_plain $SRCDIR/os_mis_ir.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 cfile_plain $SRCDIR/os_pro_ir.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 cfile_plain $SRCDIR/os_sem_ir.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 cfile_plain $SRCDIR/os_tim_ir.c |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 else |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 OBJDIR=../../blobs/osl/ir |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 OBJS="$OBJS $OBJDIR/os_com.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 OBJS="$OBJS $OBJDIR/os_drv.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 OBJS="$OBJS $OBJDIR/os_evt.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 OBJS="$OBJS $OBJDIR/os_isr.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 OBJS="$OBJS $OBJDIR/os_mem.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 OBJS="$OBJS $OBJDIR/os_mis.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 OBJS="$OBJS $OBJDIR/os_pro.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 OBJS="$OBJS $OBJDIR/os_sem.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 OBJS="$OBJS $OBJDIR/os_tim.obj" |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 |
9ab2f6dc1974
components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 fi |