comparison components/bootloader @ 68:838717193e09

eliminated the use of bootloader.lib binary blob
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2016 21:54:10 +0000
parents
children 30203d5aeb74
comparison
equal deleted inserted replaced
67:41779e8ae4da 68:838717193e09
1 # Building bootloader.lib
2
3 SRCDIR=$SRC/cs/system/bootloader/src
4
5 # Assembly modules
6
7 ASMFLAGS=-me
8 ASMFLAGS="$ASMFLAGS -dBOARD=41"
9 ASMFLAGS="$ASMFLAGS -dCHIPSET=10"
10 ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3"
11 ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0"
12 ASMFLAGS="$ASMFLAGS -dR2D_ASM=0"
13 ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0"
14 ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0"
15 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
16 ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS"
17 ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
18 ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
19
20 asm_file $SRCDIR/bootloader.s
21
22 ASMFLAGS="-mt -me"
23 ASMFLAGS="$ASMFLAGS -dBOARD=41"
24 ASMFLAGS="$ASMFLAGS -dCHIPSET=10"
25 ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3"
26 ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0"
27 ASMFLAGS="$ASMFLAGS -dR2D_ASM=0"
28 ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0"
29 ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0"
30 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
31 ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS"
32 ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
33 ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
34
35 asm_file $SRCDIR/branch_in_RAM.s
36
37 # C modules
38
39 CFLAGS="-mn -mt -mw -me -pw2"
40 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
41
42 # Includes
43
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
45 CPPFLAGS="$CPPFLAGS -I.."
46 CPPFLAGS="$CPPFLAGS -I../config"
47 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
48 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
52 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
53 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
54 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
55 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
59 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
62 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
63 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
64 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
65 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
69
70 cfile_plain $SRCDIR/cmdboot.c
71 cfile_plain $SRCDIR/command.c
72 cfile_plain $SRCDIR/convert.c
73 cfile_plain $SRCDIR/optboot.c
74 cfile_plain $SRCDIR/serial.c
75 cfile_plain $SRCDIR/start.c
76 cfile_plain $SRCDIR/boot.c