]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GenFds: remove the old logic since ActivePlatform is abs. path
authorYonghong Zhu <yonghong.zhu@intel.com>
Mon, 18 Apr 2016 07:38:15 +0000 (15:38 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 19 Apr 2016 10:35:42 +0000 (18:35 +0800)
commite642ceb8a586571b506a1ae4c00674b291f8395d
treedfe4e2b7a84e840431db8493ad62b0b0da1094b2
parentd429fcd0d25936ff5861e9c6e37f7cf9285217b2
BaseTools/GenFds: remove the old logic since ActivePlatform is abs. path

We can support the DSC file out of workspace. this old logic first make
the absolute path to relative path and strips the leading slash off,
then append it to workspace. it cause GenFds failure on Linux when the
DSC file is out of workspace. Since we make sure the ActivePlatform is
abs. path, so we don't need this old logic to change the abs. path to
relative.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Marvin Haeuser <marvin.haeuser@outlook.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/GenFds/GenFds.py