author | Mike Kinghan <mikek@symbian.org> |
Thu, 25 Nov 2010 13:59:07 +0000 | |
changeset 40 | 68f68128601f |
permissions | -rw-r--r-- |
40
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
1 |
GT 0063 Emulation Enhancements |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
2 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
3 |
1. EPOCROOT check in E32env.PM |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
4 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
5 |
Changed from static data to an active BEGIN{} section which tests the EPOCROOT |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
6 |
environment variable and constructs the rest of the E32env::Data hash accordingly. |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
7 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
8 |
EPOCROOT checking is: |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
9 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
10 |
- environment variable must exist |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
11 |
- EPOCROOT must begin with \ |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
12 |
- EPOCROOT must specify an existing directory |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
13 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
14 |
Most clients are expected to use $E32Env::Data{EPOCPath} as the raw "epoc32" directory. |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
15 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
16 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
17 |
2. Path_MakeEAbs in PATHUTL.PM |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
18 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
19 |
Variant of Path_MakeAbs. |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
20 |
Path_MakeEAbs takes (EPOCPath, BasePath, ...) and makes the list of directories into |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
21 |
absolute paths relative to BasePath. The extra functionality is that paths beginning |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
22 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
23 |
+\... |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
24 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
25 |
are treated as paths relative to EPOCPath rather than BasePath. |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
26 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
27 |
As a regression change, this change also extends to paths which begin \epoc32\, which |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
28 |
copes with the large number of existing absolute \epoc32 paths (e.g. SYSTEMINCLUDE |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
29 |
statements in MMP files). |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
30 |
|
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
31 |
Path_MakeEAbs is used in MMP.PM to handle SYSTEMINCLUDE, DEFFILE and USERINCLUDE |
68f68128601f
1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
32 |
statements, and in BLDMAKE.PL to handle PRJ_EXPORTS and PRJ_TESTEXPORTS. |