<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Source/Python/build, 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: Extend fields for module_report.json</title>
<updated>2023-03-11T06:21:49+00:00</updated>
<author>
<name>Guillermo Antonio Palomino Sosa</name>
<email>guillermo.a.palomino.sosa@intel.com</email>
</author>
<published>2023-02-27T23:31:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d2bfe289668e32940cca5da12bc201bf9b6c84d8'/>
<id>urn:sha1:d2bfe289668e32940cca5da12bc201bf9b6c84d8</id>
<content type='text'>
Adding following fields to module_report.json:
* LibraryClass
* ModuleEntryPointList
* ConstructorList
* DestructorList

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: 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: Remove duplicated words in Python tools</title>
<updated>2022-10-19T06:32:07+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2022-10-03T07:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b03dceb87f400e2e5437f775427fab5338532ee7'/>
<id>urn:sha1:b03dceb87f400e2e5437f775427fab5338532ee7</id>
<content type='text'>
In an effort to clean the documentation of the above
package, remove duplicated words.

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.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: Remove hard-coded strings for target and tools_def</title>
<updated>2021-09-29T14:31:37+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>Pierre.Gondois@arm.com</email>
</author>
<published>2021-09-23T08:59:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c7d5b046d90805eacd5eb6df669d2e4998cb149c'/>
<id>urn:sha1:c7d5b046d90805eacd5eb6df669d2e4998cb149c</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3653

The "target.txt" and "tools_def.txt" filenames are hard-coded
at some places when global definitions are available at:
BaseTools/Source/Python/Common/TargetTxtClassObject.py:
DefaultTargetTxtFile
and
BaseTools/Source/Python/Common/ToolDefClassObject.py:
DefaultToolsDefFile

Use these global definitions instead.

Also remove the unused gBuildConfiguration and gToolsDefinition
variables from build.py

Signed-off-by: Pierre Gondois &lt;Pierre.Gondois@arm.com&gt;
Reviewed-by: Chris Jones &lt;christopher.jones@arm.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: Remove Makefile/MakefileName fields</title>
<updated>2021-09-29T14:31:37+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>Pierre.Gondois@arm.com</email>
</author>
<published>2021-09-23T08:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=445c39f757f5204c2259d00930972b960483f6a4'/>
<id>urn:sha1:445c39f757f5204c2259d00930972b960483f6a4</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3653

The Makefile and MakefilName fields are never set/used. Remove them.
To check this, the following commands can be used:
- grep -rIn "\.Makefile"
- grep -rIn "\.MakefileName"

Signed-off-by: Pierre Gondois &lt;Pierre.Gondois@arm.com&gt;
Reviewed-by: Chris Jones &lt;christopher.jones@arm.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/build: Set MakefileName</title>
<updated>2021-09-29T14:31:37+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>Pierre.Gondois@arm.com</email>
</author>
<published>2021-09-23T08:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=259c184c8fc8b8a9c300347003312565f1a6f73b'/>
<id>urn:sha1:259c184c8fc8b8a9c300347003312565f1a6f73b</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3653

Running the following command:
  python3 build/build.py -a AARCH64 -t GCC5
  -p ArmPlatformPkg/ArmPlatformPkg.dsc -b DEBUG libraries
triggers the following error:
  make: *** Build/ArmPlatform/DEBUG_GCC5/AARCH64/MdePkg/Library/
  BasePcdLibNull/BasePcdLibNull: Is a directory.  Stop.

Indeed, MakefileName is set to en empty string. Setting MakefileName
resolves the error.

Signed-off-by: Pierre Gondois &lt;Pierre.Gondois@arm.com&gt;
Reviewed-by: Chris Jones &lt;christopher.jones@arm.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>build: Fix python3.10 threading DeprecationWarnings</title>
<updated>2021-08-02T03:09:59+00:00</updated>
<author>
<name>Cole</name>
<email>crobinso@redhat.com</email>
</author>
<published>2021-07-23T20:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2e1fb41339034a7b71a3c7fa097a1ff785dfe981'/>
<id>urn:sha1:2e1fb41339034a7b71a3c7fa097a1ff785dfe981</id>
<content type='text'>
threading camelCase functions have preferred alternatives since
python2.6. python3.10 has started emitting DeprecationWarnings
for them

Signed-off-by: Cole Robinson &lt;crobinso@redhat.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: build: Set ReturnCode on POSTBUILD fail</title>
<updated>2021-05-21T06:52:36+00:00</updated>
<author>
<name>Garrett Kirkendall</name>
<email>Garrett.Kirkendall@amd.com</email>
</author>
<published>2021-05-14T15:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=04ae17218deec25c6f488609c5e2ca9c419d2c4b'/>
<id>urn:sha1:04ae17218deec25c6f488609c5e2ca9c419d2c4b</id>
<content type='text'>
When build.by POSTBUILD handling section returns other than 0, set
ReturnCode to POSTBUILD_ERROR so build.py exits with return code other
than 0.

Fix for https://bugzilla.tianocore.org/show_bug.cgi?id=1977

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: Garrett Kirkendall &lt;garrett.kirkendall@amd.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
</feed>
