comparison gsm-fw/cfgmagic/processconf.sh @ 671:210268d8e553

gsm-fw: comlib included in the build along with ccd CONFIG_INCLUDE_CCD eliminated and absorbed into CONFIG_INCLUDE_PS
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 28 Sep 2014 18:23:19 +0000
parents 46e5c90fd0b8
children 40a223937246
comparison
equal deleted inserted replaced
670:f8175b92d0f7 671:210268d8e553
24 24
25 # We always export CONFIG_INCLUDE_xxx to config.h and config.mk, whether 25 # We always export CONFIG_INCLUDE_xxx to config.h and config.mk, whether
26 # enabled or disabled. This way enabling any of these components is 26 # enabled or disabled. This way enabling any of these components is
27 # as simple as CONFIG_INCLUDE_xxx=1, without having to remember the 27 # as simple as CONFIG_INCLUDE_xxx=1, without having to remember the
28 # export_to_{c,mk} magic. 28 # export_to_{c,mk} magic.
29 CONFIG_INCLUDE_CCD=0
30 export_to_c CONFIG_INCLUDE_CCD
31 export_to_mk CONFIG_INCLUDE_CCD
32 CONFIG_INCLUDE_GPF=0 29 CONFIG_INCLUDE_GPF=0
33 export_to_c CONFIG_INCLUDE_GPF 30 export_to_c CONFIG_INCLUDE_GPF
34 export_to_mk CONFIG_INCLUDE_GPF 31 export_to_mk CONFIG_INCLUDE_GPF
35 CONFIG_INCLUDE_L1=0 32 CONFIG_INCLUDE_L1=0
36 export_to_c CONFIG_INCLUDE_L1 33 export_to_c CONFIG_INCLUDE_L1
37 export_to_mk CONFIG_INCLUDE_L1 34 export_to_mk CONFIG_INCLUDE_L1
38 CONFIG_INCLUDE_PCM=0 35 CONFIG_INCLUDE_PCM=0
39 export_to_c CONFIG_INCLUDE_PCM 36 export_to_c CONFIG_INCLUDE_PCM
40 export_to_mk CONFIG_INCLUDE_PCM 37 export_to_mk CONFIG_INCLUDE_PCM
38 CONFIG_INCLUDE_PS=0
39 export_to_c CONFIG_INCLUDE_PS
40 export_to_mk CONFIG_INCLUDE_PS
41 CONFIG_INCLUDE_SIM=0 41 CONFIG_INCLUDE_SIM=0
42 export_to_c CONFIG_INCLUDE_SIM 42 export_to_c CONFIG_INCLUDE_SIM
43 export_to_mk CONFIG_INCLUDE_SIM 43 export_to_mk CONFIG_INCLUDE_SIM
44 44
45 . ./build.conf 45 . ./build.conf
103 # The list of build components: we have some invariants that are always 103 # The list of build components: we have some invariants that are always
104 # included, and some others that are included depending on the configuration. 104 # included, and some others that are included depending on the configuration.
105 105
106 BUILD_COMPONENTS="bsp nucleus riviera serial services sprintf sysglue" 106 BUILD_COMPONENTS="bsp nucleus riviera serial services sprintf sysglue"
107 107
108 if [ "$CONFIG_INCLUDE_CCD" = 1 ]
109 then
110 BUILD_COMPONENTS="$BUILD_COMPONENTS ccd"
111 fi
112 if [ "$CONFIG_INCLUDE_GPF" = 1 ] 108 if [ "$CONFIG_INCLUDE_GPF" = 1 ]
113 then 109 then
114 BUILD_COMPONENTS="$BUILD_COMPONENTS gpf" 110 BUILD_COMPONENTS="$BUILD_COMPONENTS gpf"
115 fi 111 fi
116 if [ "$CONFIG_INCLUDE_L1" = 1 ] 112 if [ "$CONFIG_INCLUDE_L1" = 1 ]
117 then 113 then
118 BUILD_COMPONENTS="$BUILD_COMPONENTS L1" 114 BUILD_COMPONENTS="$BUILD_COMPONENTS L1"
119 fi 115 fi
116 if [ "$CONFIG_INCLUDE_PS" = 1 ]
117 then
118 BUILD_COMPONENTS="$BUILD_COMPONENTS ccd comlib"
119 fi
120 120
121 export_to_mk BUILD_COMPONENTS 121 export_to_mk BUILD_COMPONENTS
122 122
123 # The support for building flashable images is not here yet, 123 # We can build flashable images now, but now for we always default to ramImage.
124 # so ramImage is all we can build for now.
125
126 BUILD_DEFAULT_IMAGE=ramImage 124 BUILD_DEFAULT_IMAGE=ramImage
127 export_to_mk BUILD_DEFAULT_IMAGE 125 export_to_mk BUILD_DEFAULT_IMAGE
128 126
129 # Now generate the output files! 127 # Now generate the output files!
130 128