comparison components/main @ 102:455ac12899fd

main.lib rebuilt from source except for init.obj and mem_load.obj
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 04 Oct 2016 01:02:15 +0000
parents
children 30203d5aeb74
comparison
equal deleted inserted replaced
101:5c13f9325e2d 102:455ac12899fd
1 # Building main.lib
2
3 OBJS="../../$INIT_blob"
4
5 # C modules
6
7 CFLAGS="-mn -mt -o -x -mw -me -pw2"
8 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
9
10 # Includes
11
12 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
13 CPPFLAGS="$CPPFLAGS -I.."
14 CPPFLAGS="$CPPFLAGS -I../config"
15 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
16 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
17 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
18 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
19 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
49
50 SRCDIR=$SRC/cs/system/Main
51
52 cfile_plain $SRCDIR/create_RVtasks.c
53 cfile_plain $SRCDIR/main.c
54 cfile_plain $SRCDIR/sys_dummy.c
55
56 OBJS="$OBJS ../../blobs/obj/main/mem_load.obj"
57
58 # Assembly module
59
60 ASMFLAGS=-me
61 ASMFLAGS="$ASMFLAGS -dBOARD=41"
62 ASMFLAGS="$ASMFLAGS -dCHIPSET=10"
63 ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3"
64 ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0"
65 ASMFLAGS="$ASMFLAGS -dR2D_ASM=0"
66 ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0"
67 ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0"
68 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
69 ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS"
70 ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
71 ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
72
73 asm_file $SRCDIR/int.s