comparison components/ffs @ 5:3b367f330821

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