FreeCalypso > hg > tcs211-c139
comparison gpf/BIN/profile_config.bat @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 | |
2 @echo Parameter 1 transferred is :%1 | |
3 @echo Parameter 2 transferred is :%2 | |
4 @echo Parameter 3 transferred is :%3 | |
5 | |
6 @set first_param=%@LOWER[%1]% | |
7 | |
8 if %2==skip_lower (set first_param=%1) | |
9 | |
10 @echo Variable result %first_param% | |
11 @echo Outdir_ext result %outpath_ext% | |
12 | |
13 @if %first_param% == umts ( | |
14 @echo Setting parameters for UMTS environment | |
15 | |
16 rem *****BE SURE NOT TO LEAVE ANY SPACES AT THE END OF THE LINES**** | |
17 rem do not use the .exe extension. | |
18 set exe=g23_smi_umts | |
19 set outdir=\g23m\condat\ms\src\%outpath_ext% | |
20 set exedir=\g23m\condat\ms\bin\ | |
21 set mapfile=\g23m\condat\int\msdev\g23_smi_umts\obj\g23_smi_umts.map | |
22 if %2==no_skip (echo set exe=umts^nset outpath_ext=%outpath_ext%^nset entry_point=_pei_primitive > \gpf\bin\profile_temp_config.bat) | |
23 goto end | |
24 ) | |
25 | |
26 if %first_param% == gsm ( | |
27 @echo Setting parameters for GSM environment | |
28 | |
29 rem *****BE SURE NOT TO LEAVE ANY SPACES AT THE END OF THE LINES**** | |
30 rem do not use the .exe extension. | |
31 set exe=MS_TI_FD | |
32 set outdir=\g23m\condat\ms\%outpath_ext% | |
33 set exedir=\g23m\condat\ms\bin\ | |
34 set mapfile=\g23m\condat\int\msdev\ms_ti_fd\obj\MS_TI_FD.map | |
35 if %2==no_skip (echo set exe=gsm^nset outpath_ext=%outpath_ext%^nset entry_point=_pei_primitive> \gpf\bin\profile_temp_config.bat) | |
36 goto end | |
37 ) | |
38 | |
39 if %first_param% == gprs ( | |
40 @echo Setting parameters for GPRS environment | |
41 | |
42 rem *****BE SURE NOT TO LEAVE ANY SPACES AT THE END OF THE LINES**** | |
43 rem do not use the .exe extension. | |
44 set exe=G23_SMI_GPRS | |
45 set outdir=\g23m\condat\ms\%outpath_ext% | |
46 set exedir=\g23m\condat\ms\bin\ | |
47 set mapfile=\g23m\condat\int\msdev\g23_smi_gprs\obj\G23_SMI_GPRS.map | |
48 if %2==no_skip (echo set exe=gprs^nset outpath_ext=%outpath_ext%^nset entry_point=_pei_primitive> \gpf\bin\profile_temp_config.bat) | |
49 goto end | |
50 ) | |
51 | |
52 @if %first_param% == gprs_wap ( | |
53 @echo Setting parameters for GPRS environment | |
54 | |
55 rem *****BE SURE NOT TO LEAVE ANY SPACES AT THE END OF THE LINES**** | |
56 rem do not use the .exe extension. | |
57 set exe=G23_SMI_GPRS_WAP | |
58 set outdir=\g23m\condat\ms\%outpath_ext% | |
59 set exedir=\g23m\condat\ms\bin\ | |
60 set mapfile=\g23m\condat\int\msdev\g23_smi_gprs_wap\obj\G23_SMI_GPRS_WAP.map | |
61 if %2==no_skip (echo set exe=gprs_wap^nset outpath_ext=%outpath_ext%^nset entry_point=_pei_primitive > \gpf\bin\profile_temp_config.bat) | |
62 goto end | |
63 ) | |
64 | |
65 @if %first_param% == gprs_bt ( | |
66 @echo Setting parameters for GPRS environment | |
67 rem *****BE SURE NOT TO LEAVE ANY SPACES AT THE END OF THE LINES**** | |
68 rem do not use the .exe extension. | |
69 set exe=G23_SMI_GPRS_BT | |
70 set outdir=\g23m\condat\ms\%outpath_ext% | |
71 set exedir=\g23m\condat\ms\bin\ | |
72 set mapfile=\g23m\condat\int\msdev\g23_smi_gprs_bt\obj\G23_SMI_GPRS_BT.map | |
73 if %2==no_skip (echo set exe=gprs_bt ^nset outpath_ext=%outpath_ext%^nset entry_point=_pei_primitive > \gpf\bin\profile_temp_config.bat) | |
74 goto end | |
75 ) | |
76 | |
77 @if %first_param% == teststack ( | |
78 @echo Setting parameters for TESTSTACK environment | |
79 rem *****BE SURE NOT TO LEAVE ANY SPACES AT THE END OF THE LINES**** | |
80 rem do not use the .exe extension. | |
81 set exe=teststack | |
82 set outdir=\gpf\util\teststack\spec\test\%outpath_ext% | |
83 set exedir=\gpf\util\teststack\bin\ | |
84 set mapfile=\gpf\util\teststack\obj\stack\pc\teststack.map | |
85 set entry_point=_pei_primitive | |
86 if %2==no_skip (echo set exe=teststack^nset outpath_ext=%outpath_ext%^nset entry_point=_pei_primitive > \gpf\bin\profile_temp_config.bat) | |
87 goto end | |
88 ) | |
89 | |
90 @echo ////////////////////////////////////////////////////// | |
91 @echo ERROR: No variables have been set for parameter: %1 | |
92 @echo ////////////////////////////////////////////////////// | |
93 | |
94 :end |