annotate components/frame_ir @ 211:96c7a4eed1df

.../power/board/power.c: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 22 Apr 2021 20:33:27 +0000
parents e58a5bb12de4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
38
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
10 if [ "$MEMSUPER" != 0 ]
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
11 then
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
12 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
13 fi
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
14 if [ "$MEMSUPER" = 2 ]
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
15 then
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
16 CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POOL"
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
17 fi
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
18
29
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 # Includes
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 # Source modules
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 SRCDIR=$SRC/gpf/frame
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 cfile_symlink $SRCDIR/frame.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 cfile_symlink $SRCDIR/vsi_sem.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 cfile_symlink $SRCDIR/vsi_com.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 cfile_symlink $SRCDIR/vsi_mem.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 cfile_symlink $SRCDIR/vsi_tim.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 cfile_symlink $SRCDIR/vsi_mis.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 cfile_symlink $SRCDIR/vsi_drv.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 cfile_symlink $SRCDIR/vsi_trc.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 cfile_symlink $SRCDIR/vsi_pro.c
38
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
40 if [ "$MEMSUPER" != 0 ]
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
41 then
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
42 cfile_symlink $SRCDIR/vsi_ppm.c
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
43 fi
29
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 cfile_symlink $SRCDIR/xalert.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 cfile_symlink $SRCDIR/route.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 cfile_symlink $SRCDIR/prf_func.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 cfile_symlink $SRCDIR/frm_ext.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 cfile_symlink $SRCDIR/frame_version.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 # OSL
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 if [ "$OSL" = 1 ]
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 then
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 # drop -o3
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
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 SRCDIR=$SRC/gpf/osl
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 cfile_plain $SRCDIR/os_com_ir.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 cfile_plain $SRCDIR/os_mem_ir.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 cfile_plain $SRCDIR/os_mis_ir.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 cfile_plain $SRCDIR/os_pro_ir.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 cfile_plain $SRCDIR/os_sem_ir.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 cfile_plain $SRCDIR/os_tim_ir.c
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 else
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 OBJDIR=../../blobs/osl/ir
38
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
70 OBJDIR_PS=../../blobs/osl/ir_ps
29
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 OBJS="$OBJS $OBJDIR/os_com.obj"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 OBJS="$OBJS $OBJDIR/os_drv.obj"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 OBJS="$OBJS $OBJDIR/os_evt.obj"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 OBJS="$OBJS $OBJDIR/os_isr.obj"
38
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
76 if [ "$MEMSUPER" != 0 ]
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
77 then
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
78 OBJS="$OBJS $OBJDIR_PS/os_mem.obj"
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
79 else
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
80 OBJS="$OBJS $OBJDIR/os_mem.obj"
e58a5bb12de4 experimental support for GPF memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
81 fi
29
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 OBJS="$OBJS $OBJDIR/os_mis.obj"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 OBJS="$OBJS $OBJDIR/os_pro.obj"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 OBJS="$OBJS $OBJDIR/os_sem.obj"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 OBJS="$OBJS $OBJDIR/os_tim.obj"
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86
9ab2f6dc1974 components/frame_{fl,ir} crafted
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 fi