comparison components/ffs @ 42:d5f08174ee4f

ffs.lib done
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Sep 2016 19:50:07 +0000
parents
children
comparison
equal deleted inserted replaced
41:d80c1264bf43 42:d5f08174ee4f
1 # Building ffs.lib
2
3 CFLAGS="-mn -mt -o -x -mw -me -pw2"
4
5 # Defines
6
7 CPPFLAGS="-DWITH_TFFS=0 -DTMFFS2"
8 if [ "$SRVC" != 0 ]
9 then
10 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA=FAX_AND_DATA"
11 fi
12 CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0 -D_TMS470"
13
14 # Includes
15
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
17 CPPFLAGS="$CPPFLAGS -I.."
18 CPPFLAGS="$CPPFLAGS -I../config"
19 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
20 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
41
42 # Source modules
43
44 SRCDIR=$SRC/cs/drivers/drv_app/ffs/board
45
46 cfile_plain $SRCDIR/amdsbdrv.c
47 cfile_plain $SRCDIR/core.c
48 cfile_plain $SRCDIR/drv.c
49 cfile_plain $SRCDIR/ffstrace.c
50 cfile_plain $SRCDIR/fsck.c
51 cfile_plain $SRCDIR/intelsbdrv.c
52 cfile_plain $SRCDIR/reclaim.c
53
54 # ffs_target.c generation
55
56 helpers/makeline dep ffs_target.c $SRCDIR/ffs.c $SRCDIR/mktarget.pl \
57 >> $BUILD_DIR/$LIBNAME/Makefile
58 helpers/makeline cmd perl -w $SRCDIR/mktarget.pl $SRCDIR . \
59 >> $BUILD_DIR/$LIBNAME/Makefile
60 echo >> $BUILD_DIR/$LIBNAME/Makefile
61
62 cfile_plain ffs_target.c