comparison components/riviera_cust_flash @ 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 riviera_cust_flash.lib
2
3 CFLAGS="-mn -mt -me -pw2"
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
5 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
6
7 if [ "$MMI" = 0 ]
8 then
9 case "$TARGET" in
10 c11x|c139|c155|j100)
11 CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE"
12 ;;
13 pirelli)
14 CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE"
15 CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_USB"
16 ;;
17 esac
18 fi
19
20 # Includes
21
22 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
23 CPPFLAGS="$CPPFLAGS -I.."
24 CPPFLAGS="$CPPFLAGS -I../config"
25 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
26 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
47
48 # Source modules
49
50 SRCDIR=$SRC/cs/riviera
51
52 c_file $SRCDIR/rvf/rvf_mem_pool.c
53 c_file $SRCDIR/rvm/rvm_swe.c
54 c_file $SRCDIR/rvt/rvt_api.c
55 c_file $SRCDIR/rvt/rvt_env.c
56 c_file $SRCDIR/rvt/rvt_task.c
57 c_file $SRCDIR/rvt/rvt_keepalive.c