Give Python/PythonCore.inf its own GUID.

Do not build Python by default since it requires manual preparation before it can be built.
Update ReadMe.pdf to include information on configuring and building Python.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11930 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503
2011-06-29 18:16:01 +00:00
parent 697aa37e3b
commit af9c2a563c
3 changed files with 8 additions and 10 deletions

View File

@ -93,7 +93,8 @@
[LibraryClasses.IA32] [LibraryClasses.IA32]
TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
## Comment out the above line and un-comment the line below for running under Nt32 emulation. # To run in an emulation environment, such as Nt32Pkg, comment out the TimerLib
# description above and un-comment the line below.
# TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf # TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
[LibraryClasses.X64] [LibraryClasses.X64]
@ -141,7 +142,9 @@
AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions. AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.
AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions. AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.
AppPkg/Applications/Enquire/Enquire.inf AppPkg/Applications/Enquire/Enquire.inf
AppPkg/Applications/Python/PythonCore.inf
# After extracting the Python distribution, un-comment the following line to build Python.
# AppPkg/Applications/Python/PythonCore.inf
################################################################ ################################################################
# #
@ -155,8 +158,8 @@
GCC:*_*_*_CC_FLAGS = -ffreestanding -nostdinc -nostdlib GCC:*_*_*_CC_FLAGS = -ffreestanding -nostdinc -nostdlib
# The Build Options, below, are only used when building the C library # The Build Options, below, are only used when building the C library
# to be run under the NT32 emulation. They disable the clock() system call # to be run under an emulation environment, such as Nt32Pkg. The clock()
# which is currently incompatible with the NT32 environment. # system call is modified to return -1 indicating that it is unsupported.
# Just uncomment the lines below and select the correct TimerLib instance, above. # Just uncomment the lines below and select the correct TimerLib instance, above.
# INTEL:*_*_IA32_CC_FLAGS = /D NT32dvm # INTEL:*_*_IA32_CC_FLAGS = /D NT32dvm

View File

@ -17,7 +17,7 @@
[Defines] [Defines]
INF_VERSION = 0x00010006 INF_VERSION = 0x00010006
BASE_NAME = Python BASE_NAME = Python
FILE_GUID = 42f58b27-5dc3-4fa7-844d-5a7dbff06432 FILE_GUID = ca5627c4-51ba-4dcb-ac62-c076ebd37ddb
MODULE_TYPE = UEFI_APPLICATION MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 0.1 VERSION_STRING = 0.1
ENTRY_POINT = ShellCEntryLib ENTRY_POINT = ShellCEntryLib
@ -228,11 +228,6 @@
#EFI -- EFI specific code #EFI -- EFI specific code
Efi/config.c Efi/config.c
Efi/getpathp.c Efi/getpathp.c
# Efi/_subprocess.c
# Efi/_winreg.c
# Efi/dl_nt.c
# Efi/import_nt.c
# Efi/msvcrtmodule.c
[BuildOptions] [BuildOptions]
MSFT:*_*_*_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I%WORKSPACE%\AppPkg\Applications\Python\Ia32 /I%WORKSPACE%\AppPkg\Applications\Python\Python-2.7.1\Include MSFT:*_*_*_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I%WORKSPACE%\AppPkg\Applications\Python\Ia32 /I%WORKSPACE%\AppPkg\Applications\Python\Python-2.7.1\Include

Binary file not shown.