<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Source/Python/build/buildoptions.py, branch trunk</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2024-06-04T03:43:08+00:00</updated>
<entry>
<title>Renormalized end-of-lines from master@27b044605cd5f6b33a3d231576003850b3fe305b</title>
<updated>2024-06-04T03:43:08+00:00</updated>
<author>
<name>kx</name>
<email>kx@radix.pro</email>
</author>
<published>2024-06-04T03:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7e2ccccace24636f29ddc210b94606abd4c7e42b'/>
<id>urn:sha1:7e2ccccace24636f29ddc210b94606abd4c7e42b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BaseTools: Generate compile information in build report</title>
<updated>2023-03-11T06:21:49+00:00</updated>
<author>
<name>Palomino Sosa, Guillermo A</name>
<email>guillermo.a.palomino.sosa@intel.com</email>
</author>
<published>2023-02-07T03:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4ad7ea9c842289aed6ed519f9fce33cf37cfc2a9'/>
<id>urn:sha1:4ad7ea9c842289aed6ed519f9fce33cf37cfc2a9</id>
<content type='text'>
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2850

Add "-Y REPORT_INFO" option to build command to generate compile
information as part of BuildReport.
This option generates files to be used by external tools as IDE's
to enhance functionality.
Files are created inside build folder:
&lt;Build&gt;/&lt;BuildTarget&gt;/&lt;ToolChain&gt;/CompileInfo

Files created:
* compile_commands.json - Compilation Database. To be used by IDE's
  to enable advance features
* cscope.files - List of files used in compilation. Used by Cscope to parse
  C code and provide browse functionality.
* module_report.json - Module data form buildReport in Json format.

Signed-off-by: Guillermo Antonio Palomino Sosa &lt;guillermo.a.palomino.sosa@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Updated build tools to support new LoongArch.</title>
<updated>2022-10-14T02:16:33+00:00</updated>
<author>
<name>Chao Li</name>
<email>lichao@loongson.cn</email>
</author>
<published>2022-01-14T04:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c53807cb7b30f0cc0796dd19dcc3845b6eabed98'/>
<id>urn:sha1:c53807cb7b30f0cc0796dd19dcc3845b6eabed98</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053

Python code changes for building EDK2 LoongArch platform.

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Yuwei Chen &lt;yuwei.chen@intel.com&gt;

Signed-off-by: Chao Li &lt;lichao@loongson.cn&gt;
Co-authored-by: Baoqi Zhang &lt;zhangbaoqi@loongson.cn&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>BaseTools/Source/Python: Remove CPU architecture assumptions</title>
<updated>2021-04-15T15:58:44+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2021-04-14T03:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3c13938079886e0e49031ab29a4f1ed7a4ceab68'/>
<id>urn:sha1:3c13938079886e0e49031ab29a4f1ed7a4ceab68</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3308

The EDK II Build Specifications do not restrict the set of
CPU architectures that can be supported.  Remove places in
the EDK II that assume a fixed set of CPU architectures.

Remove build breaks in the following tools when a check against
a fixed set of CPU architectures is made.

* Build
* GenFds
* TargetTool

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Yuwei Chen &lt;yuwei.chen@intel.com&gt;
Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Abner Chang &lt;abner.chang@hpe.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: BaseTools changes for RISC-V platform.</title>
<updated>2020-04-29T02:52:08+00:00</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@hpe.com</email>
</author>
<published>2020-04-23T13:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f60d5ca97f25121de20d057c0e8618700905e4e0'/>
<id>urn:sha1:f60d5ca97f25121de20d057c0e8618700905e4e0</id>
<content type='text'>
Python code changes for building EDK2 RISC-V platform.

Signed-off-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Co-authored-by: Gilbert Chen &lt;gilbert.chen@hpe.com&gt;
Co-authored-by: Daniel Helmut Schaefer &lt;daniel.schaefer@hpe.com&gt;
Reviewed-by: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;
Cc: Gilbert Chen &lt;gilbert.chen@hpe.com&gt;
</content>
</entry>
<entry>
<title>BaseTools:Fix GenFds issue for BuildOption replace GenFdsOption</title>
<updated>2020-01-13T02:08:46+00:00</updated>
<author>
<name>Fan, ZhijuX</name>
<email>zhijux.fan@intel.com</email>
</author>
<published>2020-01-10T08:29:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4465cd124fbcf5490faad6a1a834299b30b5d009'/>
<id>urn:sha1:4465cd124fbcf5490faad6a1a834299b30b5d009</id>
<content type='text'>
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2455

BuildOption is used by TargetTxtClassObj.py
GenFdsOption is used by GenFds.py
When the GenFds tool is used alone (e.g. python3 -m GenFds.GenFds -h)
With the OptionParser function, the first detected function
prints the help message

import TargetTxtClassObj to GenFds,
The BuildOption will be executed and replace GenFdsOption

We removed all objects associated with this problem that
were created directly during the import process
(e.g. BuildOption, BuildTarget = MyOptionParser(),
 TargetTxt = TargetTxtDict())

The Patch is going to fix this issue

Signed-off-by: Zhiju.Fan &lt;zhijux.fan@intel.com&gt;

Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Move buildoptions.py to Common folder</title>
<updated>2019-08-14T05:54:49+00:00</updated>
<author>
<name>Bob Feng</name>
<email>bob.c.feng@intel.com</email>
</author>
<published>2019-08-13T09:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=08a54c9e0a3db85d6a9fa7f418a914ea978fecc7'/>
<id>urn:sha1:08a54c9e0a3db85d6a9fa7f418a914ea978fecc7</id>
<content type='text'>
buildoptions is used by build.py and TargetTxtClassObj.py
Move buildoptions.py to Common folder so that
build tool and ECC tool work fine.

Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
Reviewed-by: Liming Gao &lt;liming.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Move BuildOption parser out of build.py</title>
<updated>2019-08-09T15:15:54+00:00</updated>
<author>
<name>Feng, Bob C</name>
<email>bob.c.feng@intel.com</email>
</author>
<published>2019-07-22T06:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c60fb00f6cf084a755eacef55f4347270520202e'/>
<id>urn:sha1:c60fb00f6cf084a755eacef55f4347270520202e</id>
<content type='text'>
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875

Build tool supports user to specify the conf folder.
To make the build options be evaluated at the beginning
of launching build, extract the buildoption function
from build.py to a new .py file.

Signed-off-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Acked-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Tested-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Acked-by: Liming Gao &lt;liming.gao@intel.com&gt;
</content>
</entry>
</feed>
