summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/GenMake.py
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2019-02-20 19:33:18 +0800
committerJiewen Yao <jiewen.yao@intel.com>2019-02-22 12:20:36 +0800
commit4247c24fba94283e74c97103e0b9b67da9b4ea5b (patch)
tree89797faa91c9cef3504434eec6565804ad218268 /BaseTools/Source/Python/AutoGen/GenMake.py
parent08b4ad6283c362fff412baa95fb49dc5dc7ccb3c (diff)
downloadedk2-4247c24fba94283e74c97103e0b9b67da9b4ea5b.tar.gz
edk2-4247c24fba94283e74c97103e0b9b67da9b4ea5b.tar.bz2
edk2-4247c24fba94283e74c97103e0b9b67da9b4ea5b.zip
BaseTool/GenC: Fix build error when type is BASE or USER_DEFINED.
https://bugzilla.tianocore.org/show_bug.cgi?id=1544 1) The GenC tool does not include the constructor/destructor for USER_DEFINED module. It should be included. Only constructor/destructor with BASE type is included here. The constructor/destructor with PEI/DXE/SMM type is still excluded to keep original behavior. 2) The GenC tool includes the UnloadImage code for BASE module. It should NOT be included. 3) The GenC tool uses EFI_STATUS and ASSERT_EFI_ERROR for BASE type. It should use RETURN_STATUS and ASSERT_RETURN_ERROR. 4) The GenC tool miss DebugLib.h for BASE or USER_DEFINED module AutoGen.c. Only Base.h is there. It should add Library/DebugLib.h. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenMake.py')
0 files changed, 0 insertions, 0 deletions