diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-05-06 15:20:23 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-05-25 13:43:54 +0800 |
commit | e4979beee9e5d334d97fd8e2c79670ad08587bc6 (patch) | |
tree | 800cb8b3a1cc1842d7dc85f61427a9ac21db0030 /MdeModulePkg | |
parent | 07fb9c264400d7ca2c14d3d8076102584038eb96 (diff) | |
download | edk2-platforms-e4979beee9e5d334d97fd8e2c79670ad08587bc6.tar.xz |
BaseTools/GenFds: enhance to get TOOL_CHAIN_TAG and TARGET value
when user don't set TOOL_CHAIN_TAG and TARGET by –D Flag, then GenFds
would report failure for format:
FILE DATA = $(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/testfile
so this patch enhance to get the TOOL_CHAIN_TAG and TARGET value by
following priority (high to low): 1. the Macro value set by -D Flag;
2. Get the value by the -t/-b option. 3. get the value from target.txt
file. Besides, this patch also remove the error checking for missing
-t/-b option.
Cc: Liming Gao <liming.gao@intel.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>
Diffstat (limited to 'MdeModulePkg')
0 files changed, 0 insertions, 0 deletions