]> git.proxmox.com Git - mirror_edk2.git/commitdiff
This file allows a developer to add a new tool in either the C or Python trees, add...
authorlhauch <larry.hauch@intel.com>
Fri, 5 Sep 2014 14:15:40 +0000 (14:15 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Sep 2014 14:15:40 +0000 (14:15 +0000)
Developer - Tool add process:
1) Developer adds code for the new tool.
2) Developer updates the Makefile in the C or Python directory
a) The entry must make sure that the executable is generated in the BaseTools\Bin\Win32 directory and any supporting files are copied to the same directory as part of the build step.
3) Developer adds the <Toolname>.exe under the [Bin.Win32] section in the BinaryFiles.txt file.
4) Developer adds other files required to be present in the [ExtraFiles.Win32] section in the BinaryFiles.txt file.

Build Server:
1) Build all binaries by calling nmake on the Source\C\Makefile and Source\Python\Makefile
2) After building the binaries, the build server verify that the files listed in BaseTools\Source\BinFiles.txt are also in the edk2-toolbinaries project,
a. If a file is not under source control, then the build server will add file as long as it is present.

File format:
[SectionName.TargetDir]
File1
File2


Where:
SectionName is one of Bin, ExtraFiles or CxFreeze
TargeDir is the name of the subdirectory in the BaseTools\Bin directory tree.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lhauch <larry.hauch@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16063 6f19259b-4bc3-4df7-8a09-765794883524

BaseTools/Source/BinaryFiles.txt [new file with mode: 0644]

diff --git a/BaseTools/Source/BinaryFiles.txt b/BaseTools/Source/BinaryFiles.txt
new file mode 100644 (file)
index 0000000..fbadf6c
--- /dev/null
@@ -0,0 +1,74 @@
+## @file\r
+# This file lists all of the tool files that must be present in the Bin trees.\r
+#\r
+# This file is used by the EDK II Build Server that automatically builds the\r
+# BaseTools Win32 binaries.\r
+# When new tools are create, the tool executable must be listed in the [Bin.Win32]\r
+# section.\r
+# If a tool requires additional files, the developer must list those files in the\r
+# [ExtraFiles.Win32] section.\r
+# The [CxFreeze.Win32] section is maintained by the owner of the Build Server who\r
+# must ensure that files that are required by the cx_freeze frozen binaries are \r
+# present in the Bin\Win32 directory.\r
+#\r
+# Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials are licensed and made available under\r
+# the terms and conditions of the BSD License which accompanies this distribution.\r
+# The full text of the license may be found at:\r
+#   http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Bin.Win32]\r
+build.exe\r
+BPDG.exe\r
+BootSectImage.exe\r
+Common.PyUtility.pyd\r
+EfiCompressor.pyd\r
+EfiLdrImage.exe\r
+EfiRom.exe\r
+Eot.EfiCompressor.pyd\r
+Eot.LzmaCompressor.pyd\r
+GenBootSector.exe\r
+GenCrc32.exe\r
+GenDepex.exe\r
+GenFds.exe\r
+GenFfs.exe\r
+GenFv.exe\r
+GenFw.exe\r
+GenPage.exe\r
+GenPatchPcdTable.exe\r
+GenSec.exe\r
+GenVtf.exe\r
+ImportTool.bat\r
+LzmaCompress.exe\r
+LzmaF86Compress.bat\r
+PatchPcdValue.exe\r
+Rsa2048Sha256GenerateKeys.exe\r
+Rsa2048Sha256Sign.exe\r
+Split.exe\r
+TargetTool.exe\r
+TianoCompress.exe\r
+Trim.exe\r
+UPT.exe\r
+VfrCompile.exe\r
+VolInfo.exe\r
+\r
+[ExtraFiles.Win32]\r
+TestSigningPrivateKey.pem\r
+\r
+[CxFreeze.Win32]\r
+_ctypes.pyd\r
+_hashlib.pyd\r
+_socket.pyd\r
+_sqlite3.pyd\r
+_ssl.pyd\r
+pyexpat.pyd\r
+python27.dll\r
+select.pyd\r
+sqlite3.dll\r
+msvcr71.dll\r