Re: [edk2] [PATCH] BaseTools: AutoGen and GenFds share the parser data.

2018-11-20 Thread Feng, Bob C
Hi Zhiqiang, Could you extract the common part of your new API and the original main() function into one function. And call it in both your new API and main() ? Thanks, Bob -Original Message- From: Zhao, ZhiqiangX Sent: Wednesday, November 21, 2018 2:33 PM To: edk2-devel@lists.01.org

[edk2] [PATCH] BaseTools: AutoGen and GenFds share the parser data.

2018-11-20 Thread Zhaozh1x
https://bugzilla.tianocore.org/show_bug.cgi?id=1288 Currently, AutoGen and GenFds run in different python interpreters. The parser are duplicated. This patch is going to create new API for GenFds and have the build to call that API instead of executing GenFds.py. As such, the GenFds and build can