annotate components/gdi @ 88:46d9d68a3911

top Makefile: support building flash images for the C139
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Oct 2016 14:11:29 +0000
parents 648d079d4e58
children bfcfbffd2736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building gdi.lib
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-me -mt -o -pw2 -x -mw"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 # Defines
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 CPPFLAGS=-DCCDTABLES_EXTERN
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 CPPFLAGS="$CPPFLAGS -D_TARGET_"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 CPPFLAGS="$CPPFLAGS -DALR"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -D_TMS470"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 CPPFLAGS="$CPPFLAGS -DUART"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -DFF_ATI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -DNWARN"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 if [ "$MMI" = 0 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -DACI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 elif [ "$MMI" = 2 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -DMFW"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 fi
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -DMMI_HOMEZONE_ENABLED"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 if [ "$GPRS" = 1 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 fi
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 CPPFLAGS="$CPPFLAGS -DLSCREEN"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 if [ "$GPRS" = 1 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 CPPFLAGS="$CPPFLAGS -DGPRS"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 fi
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 CPPFLAGS="$CPPFLAGS -DCHIPSET=10"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 CPPFLAGS="$CPPFLAGS -DBOARD=41"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 CPPFLAGS="$CPPFLAGS -DCUST=0"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 CPPFLAGS="$CPPFLAGS -DTESTMODE=1"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 # Includes
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/driver"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 CPPFLAGS="$CPPFLAGS -I.."
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 CPPFLAGS="$CPPFLAGS -I../config"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 # Source modules
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 SRCDIR=$SRC/condat2/com/src/driver
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 cfile_str2ind $SRCDIR/audio.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 cfile_str2ind $SRCDIR/display.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 cfile_str2ind $SRCDIR/keypad.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 cfile_str2ind $SRCDIR/light.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 cfile_str2ind $SRCDIR/power.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 cfile_str2ind $SRCDIR/rx.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 cfile_str2ind $SRCDIR/em.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 cfile_str2ind $SRCDIR/rtc.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 cfile_str2ind $SRCDIR/vmd.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 cfile_str2ind $SRCDIR/font_bitmaps.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 cfile_str2ind $SRCDIR/ffs_coat.c