slimbootloader/BaseTools
Aiden Park 397f25b853
Remove Python cx-freeze dependency (#51)
Ported the patch from EDKII repository and added following up changes

<Original commit info in EDKII>
commit 7b500c606ad101fad52327318af37889048cd45e
Author: Liming Gao <liming.gao@intel.com>
Date:   Tue Oct 16 23:08:46 2018 +0800

    BaseTools: Remove the step to freeze python tool

    https://bugzilla.tianocore.org/show_bug.cgi?id=1257
    Binary python tool is not supported anymore. So, the freeze python tool
    step is not required.

Signed-off-by: Aiden Park <aiden.park@intel.com>
2018-12-03 15:05:24 -08:00
..
Bin Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
BinWrappers Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
Conf Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
Scripts Remove Python cx-freeze dependency (#51) 2018-12-03 15:05:24 -08:00
Source Remove Python cx-freeze dependency (#51) 2018-12-03 15:05:24 -08:00
Tests Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
UserManuals Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
gcc Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
.gitignore Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
BuildEnv Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
BuildNotes.txt Remove Python cx-freeze dependency (#51) 2018-12-03 15:05:24 -08:00
GNUmakefile Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
Makefile Remove Python cx-freeze dependency (#51) 2018-12-03 15:05:24 -08:00
ReadMe.txt Remove Python cx-freeze dependency (#51) 2018-12-03 15:05:24 -08:00
building-gcc.txt Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
get_vsvars.bat Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
set_vsprefix_envs.bat Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
toolsetup.bat Remove Python cx-freeze dependency (#51) 2018-12-03 15:05:24 -08:00

ReadMe.txt

This directory contains the next generation of EDK II build tools and template files.
Templates are located in the Conf directory, while the tools executables for
Microsoft Windows 32-bit Operating Systems are located in the Bin\Win32 directory, other 
directory contatins tools source.

1. Build step to generate the binary tools.

=== Windows/Visual Studio Notes ===

To build the BaseTools, you should run the standard vsvars32.bat script
from your preferred Visual Studio installation or you can run get_vsvars.bat
to use latest automatically detected version.

In addition to this, you should set the following environment variables:

 * EDK_TOOLS_PATH - Path to the BaseTools sub directory under the edk2 tree
 * BASE_TOOLS_PATH - The directory where the BaseTools source is located.
   (It is the same directory where this README.txt is located.)

After this, you can run the toolsetup.bat file, which is in the same
directory as this file.  It should setup the remainder of the environment,
and build the tools if necessary.

Please also refer to the 'BuildNotes.txt' file for more information on
building under Windows.

=== Unix-like operating systems ===

To build on Unix-like operating systems, you only need to type 'make' in
the base directory of the project.

=== Ubuntu Notes ===

On Ubuntu, the following command should install all the necessary build
packages to build all the C BaseTools:

  sudo apt-get install build-essential uuid-dev

=== Python sqlite3 module ===
On Windows, the cx_freeze will not copy the sqlite3.dll to the frozen 
binary directory (the same directory as build.exe and GenFds.exe). 
Please copy it manually from <PythonHome>\DLLs.

The Python distributed with most recent Linux will have sqlite3 module
built in. If not, please install sqlit3 package separately.

26-OCT-2011