]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Change RealPath to AbsPath
authorChen, Christine <Yuwei.Chen@intel.com>
Tue, 12 Oct 2021 04:07:38 +0000 (12:07 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 13 Oct 2021 09:07:16 +0000 (09:07 +0000)
commit6ed6abd6c116e8599876a2876b77e172e800b13e
tree95b3d4778693dbdce94c025b90c1e9fc80ec1d39
parent4225a464c6daff979330c20387ade21fff85690e
BaseTools: Change RealPath to AbsPath

Currently the realpath is used when parse modules, which shows the
path with a drive letter in build log. In Windows 'subst' comand is
used to associates a path with a drive letter, when use the mapped
drive letter for build, with realpath function the build log will
have different disk letter info which will cause confusion. In this
situation, if use adspath function to show the path info, it will keep
same letter with the mapped drive letter, which avoids confusion.
This patch modifies the realpath to abspath.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@Intel.com>
BaseTools/Source/Python/Ecc/EccMain.py
BaseTools/Source/Python/GenFds/FfsInfStatement.py
BaseTools/Source/Python/GenFds/GenFds.py