diff options
author | lhauch <larry.hauch@intel.com> | 2014-09-05 14:15:40 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-05 14:15:40 +0000 |
commit | 0d5d829c0e0614337de8ad1c6d85b713d25fe5c7 (patch) | |
tree | 8b5a07a0f56f562b733a86b6d2733eaad0fe975c | |
parent | a753677e3330d512ba93d797e6ed946b686e0a96 (diff) | |
download | edk2-platforms-0d5d829c0e0614337de8ad1c6d85b713d25fe5c7.tar.xz |
This file allows a developer to add a new tool in either the C or Python trees, add the executable (and any supporting files, such as the TestSigningPrivateKey.pem file) to this file and the build server will automatically make sure that the new files are added to the BaseTools\Bin\Win32 directory. The Win32 directory is located in https://svn.code.sf.net/p/edk2-toolbinaries/code/trunk/Win32 repository.
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
-rw-r--r-- | BaseTools/Source/BinaryFiles.txt | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/BaseTools/Source/BinaryFiles.txt b/BaseTools/Source/BinaryFiles.txt new file mode 100644 index 0000000000..fbadf6c9d9 --- /dev/null +++ b/BaseTools/Source/BinaryFiles.txt @@ -0,0 +1,74 @@ +## @file
+# This file lists all of the tool files that must be present in the Bin trees.
+#
+# This file is used by the EDK II Build Server that automatically builds the
+# BaseTools Win32 binaries.
+# When new tools are create, the tool executable must be listed in the [Bin.Win32]
+# section.
+# If a tool requires additional files, the developer must list those files in the
+# [ExtraFiles.Win32] section.
+# The [CxFreeze.Win32] section is maintained by the owner of the Build Server who
+# must ensure that files that are required by the cx_freeze frozen binaries are
+# present in the Bin\Win32 directory.
+#
+# Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
+#
+# This program and the accompanying materials are licensed and made available under
+# the terms and conditions of the BSD License which accompanies this distribution.
+# The full text of the license may be found at:
+# http://opensource.org/licenses/bsd-license.php
+#
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+##
+
+[Bin.Win32]
+build.exe
+BPDG.exe
+BootSectImage.exe
+Common.PyUtility.pyd
+EfiCompressor.pyd
+EfiLdrImage.exe
+EfiRom.exe
+Eot.EfiCompressor.pyd
+Eot.LzmaCompressor.pyd
+GenBootSector.exe
+GenCrc32.exe
+GenDepex.exe
+GenFds.exe
+GenFfs.exe
+GenFv.exe
+GenFw.exe
+GenPage.exe
+GenPatchPcdTable.exe
+GenSec.exe
+GenVtf.exe
+ImportTool.bat
+LzmaCompress.exe
+LzmaF86Compress.bat
+PatchPcdValue.exe
+Rsa2048Sha256GenerateKeys.exe
+Rsa2048Sha256Sign.exe
+Split.exe
+TargetTool.exe
+TianoCompress.exe
+Trim.exe
+UPT.exe
+VfrCompile.exe
+VolInfo.exe
+
+[ExtraFiles.Win32]
+TestSigningPrivateKey.pem
+
+[CxFreeze.Win32]
+_ctypes.pyd
+_hashlib.pyd
+_socket.pyd
+_sqlite3.pyd
+_ssl.pyd
+pyexpat.pyd
+python27.dll
+select.pyd
+sqlite3.dll
+msvcr71.dll
|