]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/MetaFileParser.py
BaseTools: add error check for Macro usage in the INF file
authorYonghong Zhu <yonghong.zhu@intel.com>
Mon, 20 Feb 2017 10:49:32 +0000 (18:49 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 22 Feb 2017 02:45:27 +0000 (10:45 +0800)
commitdc4c770763d05297c7de6893a1e34b76499d0b09
tree304375170614f6bcd827b9f360f4dc3a8c201f08
parented1a2d42d5d54b6096b6e5121b0e5b7410b24108
BaseTools: add error check for Macro usage in the INF file

Use of MACRO statements in the EDK II INF files is limited to local
usage only; global or external macros are not permitted. This patch
add the check for not defined macros.

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>
BaseTools/Source/Python/Workspace/MetaFileParser.py
BaseTools/Source/Python/Workspace/WorkspaceDatabase.py