comparison components/tif_fl @ 22:7ded024bf471

components: pruned import from Magnetite renamed as desired for Tourmaline
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 16:29:07 +0000
parents
children fdc83c1ab3ff
comparison
equal deleted inserted replaced
21:1edc7293e433 22:7ded024bf471
1 # Building tif_na7_db_fl.lib using the GPF source bits we got with TCS211
2
3 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
4
5 # Defines
6
7 CPPFLAGS="-DNU_DEBUG -DRUN_FLASH"
8 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
9
10 if [ "$TRACEMASK_IN_FFS" = 1 ]
11 then
12 CPPFLAGS="$CPPFLAGS -D_FF_RV_EXIST_"
13 fi
14
15 # Includes
16
17 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
18 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
19 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
20 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
21 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/ccd"
22 CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
31 CPPFLAGS="$CPPFLAGS -I.."
32 CPPFLAGS="$CPPFLAGS -I../config"
33
34 # Source modules
35
36 SRCDIR=$SRC/gpf2/tst
37
38 ln -sf $SRCDIR/drv $BUILD_DIR/$LIBNAME
39
40 cfile_plain ./drv/tr2.c
41 cfile_plain ./drv/tif2.c
42 cfile_plain ./drv/ser_tr.c
43 cfile_plain ./drv/titrc.c
44
45 cfile_symlink $SRCDIR/tst_pei.c
46 cfile_symlink $SRCDIR/tstdriver.c
47 cfile_symlink $SRCDIR/tif_version.c