author | Ross Qin <ross.qin@nokia.com> |
Thu, 30 Sep 2010 14:38:30 +0800 | |
branch | RCL_3 |
changeset 16 | 22bdd8a90cc4 |
permissions | -rw-r--r-- |
16
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
1 |
GT 0063 Emulation Enhancements |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
2 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
3 |
1. EPOCROOT check in E32env.PM |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
4 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
5 |
Changed from static data to an active BEGIN{} section which tests the EPOCROOT |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
6 |
environment variable and constructs the rest of the E32env::Data hash accordingly. |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
7 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
8 |
EPOCROOT checking is: |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
9 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
10 |
- environment variable must exist |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
11 |
- EPOCROOT must begin with \ |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
12 |
- EPOCROOT must specify an existing directory |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
13 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
14 |
Most clients are expected to use $E32Env::Data{EPOCPath} as the raw "epoc32" directory. |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
15 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
16 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
17 |
2. Path_MakeEAbs in PATHUTL.PM |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
18 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
19 |
Variant of Path_MakeAbs. |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
20 |
Path_MakeEAbs takes (EPOCPath, BasePath, ...) and makes the list of directories into |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
21 |
absolute paths relative to BasePath. The extra functionality is that paths beginning |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
22 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
23 |
+\... |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
24 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
25 |
are treated as paths relative to EPOCPath rather than BasePath. |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
26 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
27 |
As a regression change, this change also extends to paths which begin \epoc32\, which |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
28 |
copes with the large number of existing absolute \epoc32 paths (e.g. SYSTEMINCLUDE |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
29 |
statements in MMP files). |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
30 |
|
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
31 |
Path_MakeEAbs is used in MMP.PM to handle SYSTEMINCLUDE, DEFFILE and USERINCLUDE |
22bdd8a90cc4
synchronize from nokia internal Synergy depository buildtools/92, including fix to bugs 151,468,2049,1371,325,2539, etc.
Ross Qin <ross.qin@nokia.com>
parents:
diff
changeset
|
32 |
statements, and in BLDMAKE.PL to handle PRJ_EXPORTS and PRJ_TESTEXPORTS. |