FreeCalypso > hg > fc-selenite
comparison components/main @ 10:a8f9cc376e98
components: pruned import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 21:19:43 +0000 |
parents | |
children | 0a1a78944683 |
comparison
equal
deleted
inserted
replaced
9:6da1d56a96a3 | 10:a8f9cc376e98 |
---|---|
1 # Building main.lib with recompilation of the init module | |
2 | |
3 # C modules | |
4 | |
5 CFLAGS="-mn -mt -o -x -mw -me -pw2" | |
6 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" | |
7 | |
8 if [ "$TARGET" = c139 -o "$TARGET" = c11x ] | |
9 then | |
10 CPPFLAGS="$CPPFLAGS -DCONFIG_RVTMUX_ON_MODEM" | |
11 fi | |
12 | |
13 # Includes | |
14 | |
15 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" | |
16 CPPFLAGS="$CPPFLAGS -I.." | |
17 CPPFLAGS="$CPPFLAGS -I../config" | |
18 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
19 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" | |
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" | |
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" | |
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" | |
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" | |
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" | |
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" | |
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" | |
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" | |
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" | |
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0" | |
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0" | |
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source" | |
52 | |
53 SRCDIR=$SRC/cs/system/Main | |
54 | |
55 cfile_plain $SRCDIR/init.c | |
56 cfile_plain $SRCDIR/create_RVtasks.c | |
57 cfile_plain $SRCDIR/main.c | |
58 cfile_plain $SRCDIR/sys_dummy.c | |
59 | |
60 # Different CFLAGS for mem_load.c | |
61 | |
62 CFLAGS="-o -mw -me -pw2" | |
63 | |
64 cfile_plain $SRCDIR/mem_load.c | |
65 | |
66 # Assembly module | |
67 | |
68 ASMFLAGS=-me | |
69 ASMFLAGS="$ASMFLAGS -dBOARD=41" | |
70 ASMFLAGS="$ASMFLAGS -dCHIPSET=$CHIPSET" | |
71 ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3" | |
72 ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0" | |
73 ASMFLAGS="$ASMFLAGS -dR2D_ASM=0" | |
74 ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0" | |
75 ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0" | |
76 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0" | |
77 ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS" | |
78 ASMFLAGS="$ASMFLAGS -dOP_WCP=0" | |
79 ASMFLAGS="$ASMFLAGS -dWCP_PROF=0" | |
80 | |
81 asm_file $SRCDIR/int.s |