comparison components/frame_fl @ 29:9ab2f6dc1974

components/frame_{fl,ir} crafted
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 18:39:09 +0000
parents
children e58a5bb12de4
comparison
equal deleted inserted replaced
28:b5a5e3ea94ed 29:9ab2f6dc1974
1 # Building frame_fl.lib using a mixture of source and blobs as configured
2
3 CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn"
4
5 # Defines
6
7 CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_FLASH"
8 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
9
10 # Includes
11
12 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
13 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
14 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
15 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
16 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst"
17
18 # Source modules
19
20 SRCDIR=$SRC/gpf/frame
21
22 cfile_symlink $SRCDIR/frame.c
23 cfile_symlink $SRCDIR/vsi_sem.c
24 cfile_symlink $SRCDIR/vsi_com.c
25 cfile_symlink $SRCDIR/vsi_mem.c
26 cfile_symlink $SRCDIR/vsi_tim.c
27 cfile_symlink $SRCDIR/vsi_mis.c
28 cfile_symlink $SRCDIR/vsi_drv.c
29 cfile_symlink $SRCDIR/vsi_trc.c
30 cfile_symlink $SRCDIR/vsi_pro.c
31 cfile_symlink $SRCDIR/xalert.c
32 cfile_symlink $SRCDIR/route.c
33 cfile_symlink $SRCDIR/prf_func.c
34 cfile_symlink $SRCDIR/frm_ext.c
35 cfile_symlink $SRCDIR/frame_version.c
36
37 # OSL
38
39 if [ "$OSL" = 1 ]
40 then
41
42 # drop -o3
43 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
44
45 SRCDIR=$SRC/gpf/osl
46
47 cfile_plain $SRCDIR/os_com_fl.c
48 cfile_plain $SRCDIR/os_drv.c
49 cfile_plain $SRCDIR/os_isr.c
50 cfile_plain $SRCDIR/os_mem_fl.c
51 cfile_plain $SRCDIR/os_mis_fl.c
52 cfile_plain $SRCDIR/os_pro_fl.c
53 cfile_plain $SRCDIR/os_sem_fl.c
54 cfile_plain $SRCDIR/os_tim_fl.c
55
56 else
57
58 OBJDIR=../../blobs/osl/fl
59
60 OBJS="$OBJS $OBJDIR/os_com.obj"
61 OBJS="$OBJS $OBJDIR/os_drv.obj"
62 OBJS="$OBJS $OBJDIR/os_evt.obj"
63 OBJS="$OBJS $OBJDIR/os_isr.obj"
64 OBJS="$OBJS $OBJDIR/os_mem.obj"
65 OBJS="$OBJS $OBJDIR/os_mis.obj"
66 OBJS="$OBJS $OBJDIR/os_pro.obj"
67 OBJS="$OBJS $OBJDIR/os_sem.obj"
68 OBJS="$OBJS $OBJDIR/os_tim.obj"
69
70 fi